[Qt-interest] Link problems

Thiago Macieira thiago at kde.org
Sat Jul 31 17:22:55 CEST 2010


On Saturday 31. July 2010 08.30.13 Guido Seifert wrote:
> Hi,
> a short while ago I got a support request for one of my projects.
> 
> Following error message:
> 
> 
> [ 61%] Building CXX object
> CMakeFiles/ComicMaster.dir/build/qrc_SQLite.cxx.o Linking CXX executable
> bin/ComicMaster
> /usr/local/Trolltech/Qt-4.6.3/lib/libQtCore.so: undefined reference to
> `inotify_init1 at GLIBC_2.9'
> /usr/local/Trolltech/Qt-4.6.3/lib/libQtCore.so: undefined reference to
> `pipe2 at GLIBC_2.9'
> /usr/local/Trolltech/Qt-4.6.3/lib/libQtNetwork.so: undefined reference to
> `accept4 at GLIBC_2.10'
> collect2: ld returned 1 exit status
> make[2]: *** [bin/ComicMaster] Error 1
> make[1]: *** [CMakeFiles/ComicMaster.dir/all] Error 2
> make: *** [all] Error 2
> 
> Too old glibc? Is it even possible to build Qt-4.6.3 in that case?

Yes, the glibc you're using is older than the glibc that was used to build Qt. 
You must either upgrade the glibc there or rebuild with this older glibc.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100731/575a0a1c/attachment.bin 


More information about the Qt-interest-old mailing list