FS#15480 - qt3 does not find libraries in /opt/qt/lib
Attached to Project:
Arch Linux
Opened by Wim Herremans (herremaw) - Saturday, 11 July 2009, 11:14 GMT
Last edited by Pierre Schmitz (Pierre) - Saturday, 11 July 2009, 18:52 GMT
Opened by Wim Herremans (herremaw) - Saturday, 11 July 2009, 11:14 GMT
Last edited by Pierre Schmitz (Pierre) - Saturday, 11 July 2009, 18:52 GMT
|
Details
Description:
Applications that use qt3, fail to start because qt3 does not find the shared libraries in /opt/qt/lib. Here are two examples: 1. scribus: error while loading shared libraries: libqt-mt.so.3: cannot open shared object file: No such file or directory 2. qt3config: error while loading shared libraries: libqt-mt.so.3: cannot open shared object file: No such file or directory These applications do work properly when started as follows: env LD_LIBRARY_PATH=/opt/qt/lib scribus and env LD_LIBRARY_PATH=/opt/qt/lib qt3config Additional info: * package version(s) qt3: version 3.3.8-11 qt4: version 4.5.2-1 scribus: version 1.3.3.13-1 qt3config is included in package qt * config and/or log files etc. Steps to reproduce: |
This task depends upon
Closed by Pierre Schmitz (Pierre)
Saturday, 11 July 2009, 18:52 GMT
Reason for closing: Not a bug
Additional comments about closing: bug in third party package manager
Saturday, 11 July 2009, 18:52 GMT
Reason for closing: Not a bug
Additional comments about closing: bug in third party package manager
#
# /etc/ld.so.conf
#
# End of file
/opt/qt/lib
But that does not solve the problem. I still need to set LD_LIBRARY_PATH explicitly.
So, apparently, /etc/ld.so.conf was modified when qt3 was installed, but ldconfig was not run.
1. pacman --remove --cascade qt3
On my system, this removes qt3 and scribus and /etc/ld.so.conf becomes empty.
2. Run 'ldconfig'
3. pacman --sync --refresh scribus
This installs scribus and qt3.
Result: scribus runs without problem.
4. pacman --remove --cascade qt3
This removes qt3 and scribus and makes /etc/ld.so.conf empty
5. Run ldconfig
6. Install scribus using shaman instead of pacman.
Result: qt3 and scribus are installed and /etc/ld.so.conf gets an entry for /opt/qt/lib.
In this case, scribus does not start and reports: error while loading shared libraries: libqt-mt.so.3: cannot
open shared object file: No such file or directory
Conclusion: It looks like the problem is caused by using shaman. So, maybe this bug report should be rerouted to the
maintainer of shaman?