PDA

View Full Version : QWT - libqwt.so.5: cannot open shared object file: No such file or directory



metRo_
8th November 2010, 02:56
i download qwt, qmake, make, make install, all oki.
Open a example in qt, run and:
Starting /home/ze/Documentos/Qt/qwt-5.2.1/examples/bin/data_plot...
/home/ze/Documentos/Qt/qwt-5.2.1/examples/bin/data_plot: error while loading shared libraries: libqwt.so.5: cannot open shared object file: No such file or directory
/home/ze/Documentos/Qt/qwt-5.2.1/examples/bin/data_plot exited with code 127

I about reading somethings but the path, but i want something that i can change between pcs without need to change the path always, can you help me?! I copy the libraries to the data_plot folder but its the same! :S

ChrisW67
8th November 2010, 04:24
The libraries need to be in a location that the system they are installed on looks in. On Linux this is governed by the contents of /etc/ld.so.conf (or equivalent on other UNIX flavours) and the content of the LD_LIBRARY_PATH environment variable.