Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Install error - missing dependencies on Oracle linux 5 for Qt 5.2 and 5.0.2
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 1.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    VictorSQL
    wrote on 29 Jan 2014, 17:22 last edited by
    #1

    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 qt-linux-opensource-5.0.2-x86-offline.run
    [root@localhost stuff]# ./qt-linux-opensource-5.0.2-x86-offline.run
    ./qt-linux-opensource-5.0.2-x86-offline.run: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.9' not found (required by ./qt-linux-opensource-5.0.2-x86-offline.run) ./qt-linux-opensource-5.0.2-x86-offline.run: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.11' not found (required by ./qt-linux-opensource-5.0.2-x86-offline.run)
    ./qt-linux-opensource-5.0.2-x86-offline.run: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.15' not found (required by ./qt-linux-opensource-5.0.2-x86-offline.run) ./qt-linux-opensource-5.0.2-x86-offline.run: /lib/libc.so.6: version GLIBC_2.9' not found (required by ./qt-linux-opensource-5.0.2-x86-offline.run)
    ./qt-linux-opensource-5.0.2-x86-offline.run: /lib/libc.so.6: version GLIBC_2.10' not found (required by ./qt-linux-opensource-5.0.2-x86-offline.run) ./qt-linux-opensource-5.0.2-x86-offline.run: /lib/libc.so.6: version GLIBC_2.11' not found (required by ./qt-linux-opensource-5.0.2-x86-offline.run)
    ./qt-linux-opensource-5.0.2-x86-offline.run: /lib/libc.so.6: version `GLIBC_2.7' not found (required by ./qt-linux-opensource-5.0.2-x86-offline.run)
    [root@localhost stuff]#

    here is the output of 'uname -a'
    [root@localhost stuff]# uname -a
    Linux localhost.localdomain 2.6.18-194.17.1.0.1.el5 #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/libstdc++-3-libc6.2-2-2.10.0.so
    lrwxrwxrwx 1 root root 31 Apr 5 2010 /usr/lib/libstdc++-libc6.2-2.so.3 -> libstdc++-3-libc6.2-2-2.10.0.so
    lrwxrwxrwx 1 root root 18 Apr 5 2010 /usr/lib/libstdc++.so.5 -> libstdc++.so.5.0.7
    -rwxr-xr-x 1 root root 716K Jun 5 2007 /usr/lib/libstdc++.so.5.0.7
    lrwxrwxrwx 1 root root 18 Apr 15 2010 /usr/lib/libstdc++.so.6 -> libstdc++.so.6.0.8
    -rwxr-xr-x 1 root root 915K Feb 16 2010 /usr/lib/libstdc++.so.6.0.8
    [root@localhost stuff]#

    Would you please advise on how to correct this?

    Sincerely,

    VictorSQL

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 29 Jan 2014, 21:25 last edited by
      #2

      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.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      1/2

      29 Jan 2014, 17:22

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved