libstdc++.so conflict
Ian Lance Taylor
iant@google.com
Fri Nov 30 19:47:00 GMT 2007
mahmoodn <nt_mahmood@yahoo.com> writes:
> I get the following message when I want to install a library that use QT. I
> myself have no idea....!!:(
> Testing for QT (Unix (multi-threaded)) ...
> **********************************
> ** **
> ** Linking or execution failed **
> ** =================== **
> ** **
> ** You will be shown a log now ... **
> ** Please press <ENTER> to continue. **
> **********************************
> Linker call:
> --------------
> /usr/bin/g++ -o ./tmp_test ./tmp_test.o -L/usr/lib/qt-3.3/lib
> -L/usr/lib/qt-3.3/lib -Wl,-R/usr/lib/qt-3.3/lib:/usr/lib/qt-3.3/lib
> -lqt-mt -lm
>
> Got the following error messages:
> ---------------------------------
> /usr/bin/ld: warning: libstdc++.so.6, needed by
> /usr/lib/qt-3.3/lib/libqt-mt.so, may conflict with libstdc++.so.5
> /usr/lib/libstdc++.so.6: undefined reference to
> `_Unwind_GetIPInfo@GCC_4.2.0'
> collect2: ld returned 1 exit status
>
> What is wrong??
You have a shared library which requires libstdc++.so.6.
Either your compiler, or another shared library, requires
libstdc++.so.5. You neglected to mention which version of the
compiler you are using, so I don't know which.
libstdc++.so.5 and libstdc++.so.6 should not be used in the same
executable.
Ian
More information about the Gcc-help
mailing list