Results 1 to 5 of 5

Thread: problem to run QtCreator

  1. #1
    Join Date
    Dec 2010
    Posts
    16
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default problem to run QtCreator

    Hello,
    I downloaded the latest QtCreator, 2.0.1 for Linux, qt-creator-linux-x86_64-opensource-2.0.1.bin, but when I execute it I got this message:
    • ./qtcreator: /lib64/tls/libc.so.6: version `GLIBC_2.4' not found (required by QtCreator/QtCreator-2.0.1/bin/../lib/libQtGui.so.4)
    • ./qtcreator: /lib64/tls/libc.so.6: version `GLIBC_2.4' not found (required by QtCreator/QtCreator-2.0.1/bin/../lib/libQtNetwork.so.4)
    • ./qtcreator: /lib64/tls/libc.so.6: version `GLIBC_2.4' not found (required by QtCreator/QtCreator-2.0.1/bin/../lib/libQtCore.so.4)


    under /lib64/tls, libc.so.6 does not exist.

    Questions:
    • what is the absolute path of /lib64/tls? I don't see it exist in all the paths of PATH variable? the only path I can find is /usr/lib64/tls, so if this is the one, why it misses /usr/ in the front?
    • does anyone know which Qt version the QtCreator 2.0.1 relies on?
    • do I have to download the dependent Qt version of the QtCreator in order to run QtCreator?
    • are the error messages above actually about the out-dated glibc libs? If it is, where can I download it from?
    • I am currently using the old version of Qt, 4.3.4. Is there a QtCreator I can download which supports it? I couldn't find the links for previous QtCreator releases on http://qt.nokia.com


    Thank you in advance for help.
    Last edited by Qqt; 1st December 2010 at 11:56. Reason: modify

  2. #2
    Join Date
    Dec 2010
    Posts
    16
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: problem to run QtCreator

    Here are more details for this problem:

    Looks like I have to upgrade the glibc libs.

    this is a partial output after run /lib/libc.so.6

    /lib/libc.so.6
    Compiled by GNU CC version 3.4.6 20060404 (Red Hat 3.4.6-9).
    Compiled on a Linux 2.4.20 system on 2008-04-15.

    I have downloaded
    glibc-2.4.tar.gz (06-Mar-2006)
    from http://ftp.gnu.org/gnu/glibc/
    but got compile errors when build the package:

    gcc ../sysdeps/unix/sysv/linux/if_index.c -c -std=gnu99 -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g -Wstrict-prototypes -I../include -I/libs_C/glibc/glibc-2.4-build/inet -I/libs_C/glibc/glibc-2.4-build -I../sysdeps/x86_64/elf -I../nptl/sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/wordsize-64 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/fpu -I../nptl/sysdeps/x86_64 -I../sysdeps/x86_64 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I.. -I../libio -I. -I /lib/modules/2.6.9-89.0.25.ELsmp/build/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -o /libs_C/glibc/glibc-2.4-build/inet/if_index.o -MD -MP -MF /libs_C/glibc/glibc-2.4-build/inet/if_index.o.dt -MT /libs_C/glibc/glibc-2.4-build/inet/if_index.o
    In file included from /lib/modules/2.6.9-89.0.25.ELsmp/build/include/linux/netlink.h:5,
    from ../sysdeps/unix/sysv/linux/netlinkaccess.h:23,
    from ../sysdeps/unix/sysv/linux/if_index.c:32:

    /lib/modules/2.6.9-89.0.25.ELsmp/build/include/linux/types.h:158: error: syntaxerror before "__sum16"
    /lib/modules/2.6.9-89.0.25.ELsmp/build/include/linux/types.h:158: warning: typedefaults to `int' in declaration of `__sum16'
    /lib/modules/2.6.9-89.0.25.ELsmp/build/include/linux/types.h:158: warning: datadefinition has no type or storage class
    /lib/modules/2.6.9-89.0.25.ELsmp/build/include/linux/types.h:159: error: syntaxerror before "__wsum"
    /lib/modules/2.6.9-89.0.25.ELsmp/build/include/linux/types.h:159: warning: typedefaults to `int' in declaration of `__wsum'
    /lib/modules/2.6.9-89.0.25.ELsmp/build/include/linux/types.h:159: warning: datadefinition has no type or storage class

    Can anyone confirm if I am on the right path? If it is, how can I fix the build error of glibc 2.4? Thank you in advance for help.

  3. #3
    Join Date
    Aug 2009
    Location
    coimbatore,India
    Posts
    314
    Thanks
    37
    Thanked 47 Times in 43 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: problem to run QtCreator

    hi, Qqt,
    just a confirmation,
    u r working on 32 bit or 64 bit machine??
    if u are working in 32 bit , then qt-creator-linux-x86_64-opensource-2.0.1.bin is a wrong download.


    Bala

  4. #4
    Join Date
    Dec 2010
    Posts
    16
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: problem to run QtCreator

    Hello Bala,
    Thank you for reply. My machine is 64 bits, as shown below:

    Linux lnx_137_1a010 2.6.9-89.0.25.ELsmp #1 SMP Mon Apr 19 06:08:56 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

  5. #5
    Join Date
    Dec 2010
    Posts
    16
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: problem to run QtCreator

    I have found out the current libc version installed on my Linux:
    /lib64 ->% /lib/libc.so.6
    GNU C Library stable release version 2.3.4

    so looks like I have to upgrade to glibc 2.4. Can anyone point out how to fix the build error of glibc 2.4? Thank you.

Similar Threads

  1. [Qwt] Make problem with Qwt on QtCreator-Windows 7
    By gen_mass in forum Installation and Deployment
    Replies: 3
    Last Post: 9th October 2010, 16:05
  2. Problem with QtCreator + OpenCV
    By rastru in forum Newbie
    Replies: 3
    Last Post: 24th September 2010, 21:34
  3. Qt Creator Problem with QtCreator + OpenCV
    By rastru in forum Qt Tools
    Replies: 0
    Last Post: 28th July 2010, 22:33
  4. Qtcreator : Problem to compile examples
    By shenakan in forum Newbie
    Replies: 2
    Last Post: 18th August 2009, 09:17
  5. qtcreator debugging problem in windowXP
    By nagare in forum Newbie
    Replies: 1
    Last Post: 15th June 2009, 18:04

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.