Results 1 to 3 of 3

Thread: libqwt.so.6: cannot open shared object file: No such file or directory

  1. #1
    Join Date
    Sep 2009
    Location
    Surrey, BC, Canada
    Posts
    110
    Thanks
    1
    Thanked 2 Times in 1 Post
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default libqwt.so.6: cannot open shared object file: No such file or directory

    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
    Welcome to Vision Open
    http://www.visionopen.com

  2. #2
    Join Date
    Jul 2013
    Posts
    6
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: libqwt.so.6: cannot open shared object file: No such file or directory

    I had the same problem....
    I put the answer in http://www.qtcentre.org/threads/5551...de-uma-curva-)

  3. #3
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,309
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: libqwt.so.6: cannot open shared object file: No such file or directory

    Guess you are talking about an problem when trying to start your application: try "ldd yourapplication" in the same shell, where you have set the LD_LIBRARY_PATH like above.

    Uwe

Similar Threads

  1. Replies: 1
    Last Post: 23rd May 2011, 05:53
  2. Replies: 1
    Last Post: 8th November 2010, 04:24
  3. Replies: 5
    Last Post: 15th June 2010, 08:42
  4. libQtWebKit.so.4: cannot open shared object file
    By Qt Coder in forum Qt Programming
    Replies: 1
    Last Post: 2nd June 2010, 14:27
  5. Replies: 4
    Last Post: 9th May 2010, 17:18

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.