How did you set LD_LIBRARY_PATH?
How did you set LD_LIBRARY_PATH?
How set LD_LIBRARY_PATH on Debian / Ubuntu Linux?
I was added this line to my .bashrc file :
export LD_LIBRARY_PATH="/usr/local/qwt-5.2.0/lib/libqwt.so.5"
I can compile exemple project from QWT, but when i try run it I have this error:
Starting /home/rafal/qwt-5.2.0/examples/bin/radio...
/home/rafal/qwt-5.2.0/examples/bin/radio: error while loading shared libraries: libqwt.so.5: cannot open shared object file: No such file or directory
/home/rafal/qwt-5.2.0/examples/bin/radio exited with code 127
LD_LIBRARY_PATH is exactly that, a list of paths. It shouldn't include filenames.
A better approach would be to edit /etc/ld.so.conf and then running ldconfig
i try this solution:
http://www.qtcentre.org/forum/f-qwt-...ux--23683.html
my qwtconfig.pri file:
#target.path = $$INSTALLBASE/lib
target.path =/opt/qtsdk-2009.04/bin/designer
headers.path = $$INSTALLBASE/include
#doc.path = $$INSTALLBASE/doc
doc.path =/usr/local/qwt-5.2.0/doc
but I can't still run samlpe software : /
You could always just copy the library files to /lib directory. It's not the best way, but it'll work and be the least complicated, as the /lib path is automatically included.
OK. I use ldconfig and now, i can run sample apps![]()
But i have one question, how add QWT widget to QTCreator?
I want drag and drop qwt widgets to apps form, but now I can't see any aidgets from qwt on qtcreator component list :/
No idea, but if you keep to the rule of one topic per topic then you'll get more response.
I am new to QWT. So I read about everything in the net. But I still cannot force examples work. I've done export LD_LIBRARY_PATH="/usr/local/qwt-5.2.0/lib", but there is still error while loading shared libraries: libqwt.so.5: cannot open shared object file: No such file or directory. Goodness, I don't know what I have to do. I've done ldconfig. Nothing. I don't know what should I write in /etc/ld.so.conf. Help me please!
Bookmarks