libstdc++.so conflict
mahmoodn
nt_mahmood@yahoo.com
Sat Dec 1 05:53:00 GMT 2007
>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.
Thanks,
I use gcc 3.3. So how can I fix it?
Ian Lance Taylor-3 wrote:
>
> 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
>
>
--
View this message in context: http://www.nabble.com/libstdc%2B%2B.so-conflict-tf4902138.html#a14102515
Sent from the gcc - Help mailing list archive at Nabble.com.
More information about the Gcc-help
mailing list