Hi, all:

Environment: Ubuntu 13.04 + qt5 (from repository) + qwt 6.1.0
I successfully build qwt and put everything down to /opt/qwt

The library files are
pei@pei-Latitude-E6410:/opt/qwt$ ls lib
libqwt.so libqwt.so.6 libqwt.so.6.1 libqwt.so.6.1.0
pei@pei-Latitude-E6410:/opt/qwt$ ls plugins/designer/
libqwt_designer_plugin.so

However, when I tried to link libqwt, I got the following error message
error while loading shared libraries: libqwt.so.6: cannot open shared object file: No such file or directory
And, the variables $PATH and $LD_LIBRARY_PATH are as follows:
pei@pei-Latitude-E6410:~$ echo $PATH
/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/qwt/lib:/opt/qwt/plugins/designer
pei@pei-Latitude-E6410:~$ echo $LD_LIBRARY_PATH
/usr/lib/vtk-5.10:/opt/qwt/lib:/opt/qwt/plugins/designer

Where am I wrong?


Cheers
Pei