Results 1 to 4 of 4

Thread: install NAS : can't find some lib

  1. #1
    Join Date
    Apr 2011
    Location
    China
    Posts
    8
    Thanks
    1
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Question install NAS : can't find some lib

    Enviroment : Fedora13 under WMware
    NAS software package: nas-1.9.2.src.tar.gz
    gcc version: 4.4.5 20101112 (Red Hat 4.4.5-2) (GCC)

    i install the nas following the doc "README":
    [root@localhost nas-1.9.2]#xmkmf 
    mv -f Makefile Makefile.bak
    imake -DUseInstalled -I/usr/share/X11/config

    [root@localhost nas-1.9.2]#make World

    [root@localhost nas-1.9.2]#make install  
    /usr/bin/ld: ../../../lib/audio/libaudio.a(ConnSvr.o): undefined reference to symbol 'XauGetBestAuthByAddr'
    /usr/bin/ld: note: 'XauGetBestAuthByAddr' is defined in DSO /usr/lib/libXau.so.6 so try adding it to the linker command line
    /usr/lib/libXau.so.6: could not read symbols: Invalid operation
    collect2: ld return 1
    make[3]: *** [auctl] error 1
    make[3]: Leaving directory `/home/ywj/nas-1.9.2/clients/audio/auctl'
    make[2]: *** [install] error 2
    make[2]: Leaving directory `/home/ywj/nas-1.9.2/clients/audio'
    make[1]: *** [install] error2
    make[1]: Leaving directory `/home/ywj/nas-1.9.2/clients'
    make: *** [install] error 2

    I have experienced many similar problems ,i don't how to solve this problems so that i scared of similar error. It's so hard to find what libs the software lack of for installing.

    What am I gonna do ?

  2. #2
    Join Date
    Apr 2011
    Location
    China
    Posts
    8
    Thanks
    1
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: install NAS : can't find some lib

    i have been waiting for the answer all day.
    why? i have installed the nas successfully, but it's under the another system Red Hat EnterPrise Linux 5.
    i just want to know how to slove the similar problems.

  3. #3
    Join Date
    Apr 2010
    Posts
    769
    Thanks
    1
    Thanked 94 Times in 86 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: install NAS : can't find some lib

    It's hard to imagine a more helpful, explicit error message than

    /usr/bin/ld: ../../../lib/audio/libaudio.a(ConnSvr.o): undefined reference to symbol 'XauGetBestAuthByAddr'
    /usr/bin/ld: note: 'XauGetBestAuthByAddr' is defined in DSO /usr/lib/libXau.so.6 so try adding it to the linker command line
    It tells you exactly what the problem is and exactly what to do about it.

    It's depressing to see that there are still projects using imake. Even the original perpetrators - the authors of the X windowing system - have finally abandoned it. Meanwhile, you're stuck with this bad decision, and you'll have to wade through the build system to find where to modify the link line mentioned above. If you're lucky, the developers will have anticipated system variation and provided instructions on what files to change when migrating - most likely in the top level directory, although if they're following X-style packaging and documentation it could be anywhere.

  4. #4
    Join Date
    Apr 2011
    Location
    China
    Posts
    8
    Thanks
    1
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: install NAS : can't find some lib

    Quote Originally Posted by SixDegrees View Post
    Thank you .
    It's depressing to see that there are still projects using imake. Even the original perpetrators - the authors of the X windowing system - have finally abandoned it. Meanwhile, you're stuck with this bad decision, and you'll have to wade through the build system to find where to modify the link line mentioned above. If you're lucky, the developers will have anticipated system variation and provided instructions on what files to change when migrating - most likely in the top level directory, although if they're following X-style packaging and documentation it could be anywhere.
    So what you are said is that the method of imake projects has gone out of use. And , the developers didn't provide the instructions without careful prior deliberation about system variation.

    helpless and hopeless...

Similar Threads

  1. Replies: 6
    Last Post: 13th March 2011, 23:49
  2. Replies: 4
    Last Post: 18th April 2010, 00:37
  3. How to install Qt ???
    By dany_MB in forum Installation and Deployment
    Replies: 4
    Last Post: 2nd October 2008, 08:53
  4. How install fonts with make install
    By jiveaxe in forum Qt Programming
    Replies: 1
    Last Post: 2nd January 2008, 19:38
  5. "make install" doesn't install binary
    By jiveaxe in forum Newbie
    Replies: 2
    Last Post: 2nd January 2008, 12:00

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.