Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After installation loading fails on ubuntu #15

Closed
thomasp85 opened this issue Jan 30, 2014 · 4 comments
Closed

After installation loading fails on ubuntu #15

thomasp85 opened this issue Jan 30, 2014 · 4 comments

Comments

@thomasp85
Copy link

On Ubuntu 12.04, with Qt 5.2.0, cmake 2.8.12.2, gcc 4.7.3 and R 3.0.2 installation of qtbase proceeds without error until the final 'testing if installed package can be loaded'. There it throws the following error:

** testing if installed package can be loaded
Error : .onLoad failed in loadNamespace() for 'qtbase', details:
  call: dyn.load(file, DLLpath = DLLpath, ...)
  error: unable to load shared object '/home/thomasp85/R/x86_64-pc-linux-gnu-library/3.0/qtbase/libs/qtbase.so':
  libQt5Widgets.so.5: cannot open shared object file: No such file or directory
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/home/thomasp85/R/x86_64-pc-linux-gnu-library/3.0/qtbase’

The full installation log can be found here: https://dl.dropboxusercontent.com/u/2323585/qtbase_ubuntu_install_log.txt

@lawremi
Copy link
Member

lawremi commented Jan 30, 2014

I'm guessing you've installed Qt5 into a local prefix and thus do not have
the necessary path in LD_LIBRARY_PATH.

On Thu, Jan 30, 2014 at 4:59 AM, thomasp85 notifications@github.com wrote:

On Ubuntu 12.04, with Qt 5.2.0, cmake 2.8.12.2, gcc 4.7.3 and R 3.0.2
installation of qtbase proceeds without error until the final 'testing if
installed package can be loaded'. There it throws the following error:

** testing if installed package can be loaded
Error : .onLoad failed in loadNamespace() for 'qtbase', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable to load shared object '/home/thomasp85/R/x86_64-pc-linux-gnu-library/3.0/qtbase/libs/qtbase.so':
libQt5Widgets.so.5: cannot open shared object file: No such file or directory
Error: loading failed
Execution halted
ERROR: loading failed

  • removing '/home/thomasp85/R/x86_64-pc-linux-gnu-library/3.0/qtbase'

The full installation log can be found here:
https://dl.dropboxusercontent.com/u/2323585/qtbase_ubuntu_install_log.txt

Reply to this email directly or view it on GitHubhttps://github.com//issues/15
.

@thomasp85
Copy link
Author

Sorry for being ignorant, but I’m not quite sure how to solve this. Originally Qt was installed in the ’home’ folder, but I subsequently reinstalled it into /opt/. This didn’t solve the problem. I then defined LD_LIBRARY_PATH to /opt/Qt5.2.0/5.2.0/gcc_64/lib but this didn’t work either.

Where should Qt optimally be installed to avoid this?

Den 30/01/2014 kl. 14:19 skrev lawremi notifications@github.com:

I'm guessing you've installed Qt5 into a local prefix and thus do not have
the necessary path in LD_LIBRARY_PATH.

On Thu, Jan 30, 2014 at 4:59 AM, thomasp85 notifications@github.com wrote:

On Ubuntu 12.04, with Qt 5.2.0, cmake 2.8.12.2, gcc 4.7.3 and R 3.0.2
installation of qtbase proceeds without error until the final 'testing if
installed package can be loaded'. There it throws the following error:

** testing if installed package can be loaded
Error : .onLoad failed in loadNamespace() for 'qtbase', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable to load shared object '/home/thomasp85/R/x86_64-pc-linux-gnu-library/3.0/qtbase/libs/qtbase.so':
libQt5Widgets.so.5: cannot open shared object file: No such file or directory
Error: loading failed
Execution halted
ERROR: loading failed

  • removing '/home/thomasp85/R/x86_64-pc-linux-gnu-library/3.0/qtbase'

The full installation log can be found here:
https://dl.dropboxusercontent.com/u/2323585/qtbase_ubuntu_install_log.txt

Reply to this email directly or view it on GitHubhttps://github.com//issues/15
.


Reply to this email directly or view it on GitHub.

@lawremi
Copy link
Member

lawremi commented Jan 31, 2014

This should work, as long as LD_LIBRARY_PATH is set to the path containing
libQt5Widgets.so.5.

On Fri, Jan 31, 2014 at 11:11 AM, thomasp85 notifications@github.comwrote:

Sorry for being ignorant, but I'm not quite sure how to solve this.
Originally Qt was installed in the 'home' folder, but I subsequently
reinstalled it into /opt/. This didn't solve the problem. I then defined
LD_LIBRARY_PATH to /opt/Qt5.2.0/5.2.0/gcc_64/lib but this didn't work
either.

Where should Qt optimally be installed to avoid this?

Den 30/01/2014 kl. 14:19 skrev lawremi notifications@github.com:

I'm guessing you've installed Qt5 into a local prefix and thus do not
have
the necessary path in LD_LIBRARY_PATH.

On Thu, Jan 30, 2014 at 4:59 AM, thomasp85 notifications@github.com
wrote:

On Ubuntu 12.04, with Qt 5.2.0, cmake 2.8.12.2, gcc 4.7.3 and R 3.0.2
installation of qtbase proceeds without error until the final 'testing
if
installed package can be loaded'. There it throws the following error:

** testing if installed package can be loaded
Error : .onLoad failed in loadNamespace() for 'qtbase', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable to load shared object
'/home/thomasp85/R/x86_64-pc-linux-gnu-library/3.0/qtbase/libs/qtbase.so':
libQt5Widgets.so.5: cannot open shared object file: No such file or
directory
Error: loading failed
Execution halted
ERROR: loading failed

  • removing '/home/thomasp85/R/x86_64-pc-linux-gnu-library/3.0/qtbase'

The full installation log can be found here:

https://dl.dropboxusercontent.com/u/2323585/qtbase_ubuntu_install_log.txt

Reply to this email directly or view it on GitHub<
https://github.com/ggobi/qtbase/issues/15>
.

Reply to this email directly or view it on GitHub.

Reply to this email directly or view it on GitHubhttps://github.com//issues/15#issuecomment-33832445
.

@thomasp85
Copy link
Author

Sorry - It did work but a similar looking error (at least to tired eyes) cropped up - will be posted in a new issue

Den 31/01/2014 kl. 22:38 skrev lawremi notifications@github.com:

This should work, as long as LD_LIBRARY_PATH is set to the path containing
libQt5Widgets.so.5.

On Fri, Jan 31, 2014 at 11:11 AM, thomasp85 notifications@github.comwrote:

Sorry for being ignorant, but I'm not quite sure how to solve this.
Originally Qt was installed in the 'home' folder, but I subsequently
reinstalled it into /opt/. This didn't solve the problem. I then defined
LD_LIBRARY_PATH to /opt/Qt5.2.0/5.2.0/gcc_64/lib but this didn't work
either.

Where should Qt optimally be installed to avoid this?

Den 30/01/2014 kl. 14:19 skrev lawremi notifications@github.com:

I'm guessing you've installed Qt5 into a local prefix and thus do not
have
the necessary path in LD_LIBRARY_PATH.

On Thu, Jan 30, 2014 at 4:59 AM, thomasp85 notifications@github.com
wrote:

On Ubuntu 12.04, with Qt 5.2.0, cmake 2.8.12.2, gcc 4.7.3 and R 3.0.2
installation of qtbase proceeds without error until the final 'testing
if
installed package can be loaded'. There it throws the following error:

** testing if installed package can be loaded
Error : .onLoad failed in loadNamespace() for 'qtbase', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable to load shared object
'/home/thomasp85/R/x86_64-pc-linux-gnu-library/3.0/qtbase/libs/qtbase.so':
libQt5Widgets.so.5: cannot open shared object file: No such file or
directory
Error: loading failed
Execution halted
ERROR: loading failed

  • removing '/home/thomasp85/R/x86_64-pc-linux-gnu-library/3.0/qtbase'

The full installation log can be found here:

https://dl.dropboxusercontent.com/u/2323585/qtbase_ubuntu_install_log.txt

Reply to this email directly or view it on GitHub<
https://github.com/ggobi/qtbase/issues/15>
.

Reply to this email directly or view it on GitHub.

Reply to this email directly or view it on GitHubhttps://github.com//issues/15#issuecomment-33832445
.


Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants