Thanks for your response.
I tried the following:
None of them worked.export LD_LIBRARY_PATH=/usr/local/qwt-6.0.0/lib/
Edit file /etc/ld.so.conf and include "/usr/local/qwt-6.0.0/lib/"
Run ldconfig
Run ldconfig -n "/usr/local/qwt-6.0.0/lib"
Any suggestions?
Im also reading http://tldp.org/HOWTO/Program-Librar...libraries.html and I think Im doing the right thing but it still doesn't work...
Qt Code:
mribeiro@mribeiro-linux:/usr/local/lib/qwt-6.0.0/lib$ ls libqwtmathml.so libqwtmathml.so.6.0 libqwt.so libqwt.so.6.0 libqwtmathml.so.6 libqwtmathml.so.6.0.0 libqwt.so.6 libqwt.so.6.0.0To copy to clipboard, switch view to plain text mode
Edit1:
Well, I copy-pasted libqwt.so.6 to /usr/lib and now it works. However I wonder how can I configure loader to search libraries in other directories. Any help is greatly appreciated!
Edit2: Done! For further reference: create a file "*.conf" (f.e., qwt.conf) in "/etc/ld.so.conf.d/" and add path "/usr/local/qwt-6.0.0/lib"
Bookmarks