Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

ERROR while make Qt-everywhere-opensource-src-4.7.4



  • I was trying to install the Qt Library on my Ubuntu 11.04 following the guide at http://doc.qt.nokia.com/4.7/install-x11.html.
    Suddenly, during make command this error showed up:

    @/usr/bin/ld: cannot find -lXrender
    collect2: ld returned 1 exit status
    make[1]: *** [../../../../lib/libQtWebKit.so.4.7.4] Error 1
    make[1]: Leaving directory `/home/paulo/Downloads/qt-everywhere-opensource-src-4.7.4/src/3rdparty/webkit/WebCore'
    make: *** [sub-webkit-make_default-ordered] Error 2@

    Btw, the idea is to use Netbeans to build a C++/Qt application.

    Thank you!



  • Welcome to this forum.

    The make process does not find the xrender lib. You should check, if it is installed.



  • You should run

    @
    aptitude search xrender
    @

    If there's no "i" in front of the line describing the lib, you need to install it:

    @
    aptitude install libxrender1
    @

    Check the package name!



  • it worked. thank you very much!


Log in to reply