Results 1 to 9 of 9

Thread: problem with qt-3.0.0

  1. #1
    Join Date
    May 2008
    Posts
    21
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default problem with qt-3.0.0

    I made some application using qt-embedded-free-3.0.0, but when I executed on my arm board , the following error messages occured:

    ./myapp -qws

    ./myapp: error while loading shared libraries: /qt/lib/libqte.so.3: symbol nl_langinfo, version GLIBC_2.0 not defined in file libc.so.6 with link time reference

    Can anyone help me?

    regards,

    winarko

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: problem with qt-3.0.0

    It looks like the glibc on your system is different from the one which Qt is linked with.

  3. #3
    Join Date
    May 2008
    Posts
    21
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: problem with qt-3.0.0

    Yes, I think so. my glibc version is glibc-2.2.2.
    So,do u have any idea how to solve it?
    Which version of glibc that can be used with qt 3?

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: problem with qt-3.0.0

    Quote Originally Posted by winarko View Post
    Which version of glibc that can be used with qt 3?
    The problem is not that Qt doesn't like the glibc version, but that you have used different glibc for compilation and different in the runtime. When you compile Qt, make sure that the linker will use a glic version that is binary compatible with glibc installed on target machine.

  5. #5
    Join Date
    May 2008
    Posts
    21
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: problem with qt-3.0.0

    So, do you mean i can use any version of glibc, and gcc to compile any Qt version?

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: problem with qt-3.0.0

    Quote Originally Posted by winarko View Post
    So, do you mean i can use any version of glibc, and gcc to compile any Qt version?
    No, you have to use a supported version.

    What I meant is that you have to use compatible glibc versions for compilation and runtime, because now it seems that in the runtime you use a different glibc.

  7. #7
    Join Date
    May 2008
    Posts
    21
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: problem with qt-3.0.0

    Can u give me a list about which compilation and runtime glibc that match?
    I mean for example when I used glibc version 2.2.3 in my Linux PC, which glibc version that I should put on my embedded devices?

  8. #8
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: problem with qt-3.0.0

    Quote Originally Posted by winarko View Post
    I mean for example when I used glibc version 2.2.3 in my Linux PC, which glibc version that I should put on my embedded devices?
    Use the same one.

  9. #9
    Join Date
    Aug 2008
    Posts
    12
    Thanks
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: problem with qt-3.0.0

    Hi you can also check the LD_LIBRARY_PATH variable is linked to the above path ...

Similar Threads

  1. problem with paint and erase in frame
    By M.A.M in forum Qt Programming
    Replies: 9
    Last Post: 4th May 2008, 20:17
  2. PyQt QTimer problem { FIXED }
    By WinchellChung in forum Newbie
    Replies: 0
    Last Post: 1st March 2008, 16:50
  3. Tricky problem with ARGB widget / UpdateLayeredWindow
    By nooky59 in forum Qt Programming
    Replies: 3
    Last Post: 21st February 2008, 10:35
  4. Graphics view display problem.
    By kiranraj in forum Qt Programming
    Replies: 3
    Last Post: 20th July 2007, 07:08
  5. Replies: 16
    Last Post: 7th March 2006, 15:57

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.