Install error - missing dependencies on Oracle linux 5 for Qt 5.2 and 5.0.2

  • I attempted to install Qt 5.2 and encountered errors for missing dependencies. The errors are the same when I attempt to install Qt 5.0.2. Here is a snippet of error messages:

    [root@localhost stuff]# chmod +x
    [root@localhost stuff]# ./
    ./ /usr/lib/ version GLIBCXX_3.4.9' not found (required by ./ ./ /usr/lib/ versionGLIBCXX_3.4.11' not found (required by ./
    ./ /usr/lib/ version GLIBCXX_3.4.15' not found (required by ./ ./ /lib/ versionGLIBC_2.9' not found (required by ./
    ./ /lib/ version GLIBC_2.10' not found (required by ./ ./ /lib/ versionGLIBC_2.11' not found (required by ./
    ./ /lib/ version `GLIBC_2.7' not found (required by ./
    [root@localhost stuff]#

    here is the output of 'uname -a'
    [root@localhost stuff]# uname -a
    Linux localhost.localdomain 2.6.18- #1 SMP Wed Sep 29 15:40:03 EDT 2010 i686 i686 i386 GNU/Linux
    [root@localhost stuff]#

    The 'missing library' appears to be available --
    [root@localhost stuff]# ls -hl /usr/lib/libstdc++*
    -rwxr-xr-x 1 root root 256K Jun 4 2007 /usr/lib/
    lrwxrwxrwx 1 root root 31 Apr 5 2010 /usr/lib/ ->
    lrwxrwxrwx 1 root root 18 Apr 5 2010 /usr/lib/ ->
    -rwxr-xr-x 1 root root 716K Jun 5 2007 /usr/lib/
    lrwxrwxrwx 1 root root 18 Apr 15 2010 /usr/lib/ ->
    -rwxr-xr-x 1 root root 915K Feb 16 2010 /usr/lib/
    [root@localhost stuff]#

    Would you please advise on how to correct this?



  • Lifetime Qt Champion

    Hi and welcome to devnet,

    That lib is indeed present but not the right version. Looking at the kernel version you seem to use a pretty old linux distribution. So you have basically two choices:

    Build Qt yourself

    Update your distribution

    For point 1, you also have to check that your compiler is recent enough

    As a side note, don't use the root account for development. It's a very bad idea.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.