Error while running the Qt program on linux
-
Hi guys,
I'm getting this error :/home/pratip/Downloads/crossCMac/crossCMac/oscilloscope: error while loading shared libraries: libqwt.so.6: cannot open shared object file: No such file or directorywhile running the qwt example which was created on Qt mac os and again compiled on the Qt linux.
after I got know this error I did try
sudo updatedb locate libqwt //library location was exist. sudo ln -s new/path duplicate/path/libqwtapp not running please help me .
-
Hi guys,
I'm getting this error :/home/pratip/Downloads/crossCMac/crossCMac/oscilloscope: error while loading shared libraries: libqwt.so.6: cannot open shared object file: No such file or directorywhile running the qwt example which was created on Qt mac os and again compiled on the Qt linux.
after I got know this error I did try
sudo updatedb locate libqwt //library location was exist. sudo ln -s new/path duplicate/path/libqwtapp not running please help me .
@thippu
Runningldd /home/pratip/Downloads/crossCMac/crossCMac/oscilloscopewill show you what shared libraries are missing. Doubtless that will showlibqwt.so.6. You need to put that in the right place. It's impossible to know whether your "censored"sudo ln -s new/path duplicate/path/libqwtis doing the right thing.Furthermore, even if it does find
libqwt.so.6, it is my experience that if that in turn requires another....solibrary file which is not found, Linux will report the error against against the top-levellibqwt.so.6it was seeking when really it should be against the secondary.sofile which that wants. So again uselddagainst wherever you have put thelibqwt.so.6it finds and see what that outputs. -
@thippu
Runningldd /home/pratip/Downloads/crossCMac/crossCMac/oscilloscopewill show you what shared libraries are missing. Doubtless that will showlibqwt.so.6. You need to put that in the right place. It's impossible to know whether your "censored"sudo ln -s new/path duplicate/path/libqwtis doing the right thing.Furthermore, even if it does find
libqwt.so.6, it is my experience that if that in turn requires another....solibrary file which is not found, Linux will report the error against against the top-levellibqwt.so.6it was seeking when really it should be against the secondary.sofile which that wants. So again uselddagainst wherever you have put thelibqwt.so.6it finds and see what that outputs. -
@thippu
Runningldd /home/pratip/Downloads/crossCMac/crossCMac/oscilloscopewill show you what shared libraries are missing. Doubtless that will showlibqwt.so.6. You need to put that in the right place. It's impossible to know whether your "censored"sudo ln -s new/path duplicate/path/libqwtis doing the right thing.Furthermore, even if it does find
libqwt.so.6, it is my experience that if that in turn requires another....solibrary file which is not found, Linux will report the error against against the top-levellibqwt.so.6it was seeking when really it should be against the secondary.sofile which that wants. So again uselddagainst wherever you have put thelibqwt.so.6it finds and see what that outputs. -
@thippu
I did do like this:pratip@debian:/usr/local/qwt-6.1.3/lib$ ldd /usr/local/qwt-6.1.3/liboutput was:
ldd: /usr/local/qwt-6.1.3/lib$: not regular file