This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libstdc++.so conflict


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]