Results 1 to 5 of 5

Thread: Different versions of libstdc++ in one binary

  1. #1
    Join Date
    Jan 2006
    Location
    Karlsruhe, Germany
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Different versions of libstdc++ in one binary

    Hi,

    I have created a little Qt4.01-application, based on (qt-directory)/demos/books on a linux-system. Compiler is gcc, version 4.0.2.

    When calling make everything looks fine except...:

    "/usr/lib/gcc/i586-suse-linux/4.0.2/../../../../i586-suse-linux/bin/ld: warning: libstdc++.so.5, needed by /usr/local/Trolltech/Qt-4.0.1/lib/libQtGui_debug.so, may conflict with libstdc++.so.6"

    Can someone judge if this can jeopardize execution ? Is it possible to get problems while debugging the app with gdb/ddd ?

    And do you know how I can get rid of this warning ?

    Thanks for your advice
    Pascal

  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: Different versions of libstdc++ in one binary

    Quote Originally Posted by Pascal
    do you know how I can get rid of this warning ?
    Probably Qt was linked with older version of libstdc++. Did you upgrade that library after compiling Qt?

  3. #3
    Join Date
    Jan 2006
    Location
    Karlsruhe, Germany
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Different versions of libstdc++ in one binary

    Quote Originally Posted by jacek
    Probably Qt was linked with older version of libstdc++. Did you upgrade that library after compiling Qt?
    Yes I did: Qt4.0.1 on 11/05/2005, SuSE 10.0 an 11/12/2005.
    Should I recompile Qt ? (and migrate to Qt4.1 ?)

  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: Different versions of libstdc++ in one binary

    Quote Originally Posted by Pascal
    Should I recompile Qt ? (and migrate to Qt4.1 ?)
    Yes, if you want to get rid of that warning. Take into account that there are a lot of new features and bug fixes in Qt 4.1.

    Your current version should work, but if your programs start to behave really strange, you should do an upgrade.
    Last edited by jacek; 16th January 2006 at 01:11.

  5. #5
    Join Date
    Jan 2006
    Location
    Karlsruhe, Germany
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Different versions of libstdc++ in one binary

    thanks a lot, Jacek. I'll follow your advice..tomorrow.
    Pascal

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.