Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. libc.so.6 erros, how to bundle a qt5 app to centos 6.5?
Forum Updated to NodeBB v4.3 + New Features

libc.so.6 erros, how to bundle a qt5 app to centos 6.5?

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 351 Views
  • 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.
  • L Offline
    L Offline
    luizelias
    wrote on last edited by
    #1

    Hello,

    I'm working on centos 7 qt5 and I need to make my app run in centos 6.5

    I'm getting libc erros because libc in centos 6.5 is older:
    /lib64/libc.so.6: version `GLIBC_2.14' not found

    I have compiled qt from souce static and I'm using those link flags:
    CONFIG += c++11 -static
    LIBS+= -L/usr/lib/gcc/x86_64-redhat-linux/4.8.2/
    QMAKE_LFLAGS_RELEASE+= -static-libgcc -static-libstdc++

    but still and I run ldd on the app I get that:
    libc.so.6 => /lib64/libc.so.6

    why is qt still link libc dynamicly?

    what are the other options to bundle a qt5 to centos 6.5 without install qt5 on centos 6.5?

    thanks in advance!

    Luiz

    1 Reply Last reply
    0

    • Login

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