Results 1 to 5 of 5

Thread: Problem with NCReport : can't link shared library !

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Problem with NCReport : can't link shared library !

    Your code is fine. The library can't be found when the dynamic linker is asked to resolve all the missing symbols when you execute the application. Compilation has nothing to do with it - the linker there was able to find the library because you pointed it to it using the "-L" option. Now you have to point it to the linker during runtime. Either place the library in a directory where the linker looks for it (like /usr/lib) or set the LD_LIBRARY_PATH environment variable to the directory containing the library.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  2. The following user says thank you to wysota for this useful post:

    QAmazigh (5th June 2009)

Similar Threads

  1. so shared library problem
    By mtrpoland in forum Newbie
    Replies: 3
    Last Post: 13th August 2007, 21:51
  2. shared library problem
    By nhatkhang in forum KDE Forum
    Replies: 9
    Last Post: 28th November 2006, 04:07

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
  •  
Qt is a trademark of The Qt Company.