public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* libstdc++.so conflict
@ 2007-11-30  9:13 mahmoodn
  2007-11-30 18:44 ` mahmoodn
  2007-11-30 19:47 ` Ian Lance Taylor
  0 siblings, 2 replies; 8+ messages in thread
From: mahmoodn @ 2007-11-30  9:13 UTC (permalink / raw)
  To: gcc-help


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??

-- 
View this message in context: http://www.nabble.com/libstdc%2B%2B.so-conflict-tf4902138.html#a14042401
Sent from the gcc - Help mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* libstdc++.so conflict
  2007-11-30  9:13 libstdc++.so conflict mahmoodn
@ 2007-11-30 18:44 ` mahmoodn
  2007-11-30 19:47 ` Ian Lance Taylor
  1 sibling, 0 replies; 8+ messages in thread
From: mahmoodn @ 2007-11-30 18:44 UTC (permalink / raw)
  To: gcc-help


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 with it???

-- 
View this message in context: http://www.nabble.com/libstdc%2B%2B.so-conflict-tf4902138.html#a14042401
Sent from the gcc - Help mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: libstdc++.so conflict
  2007-11-30  9:13 libstdc++.so conflict mahmoodn
  2007-11-30 18:44 ` mahmoodn
@ 2007-11-30 19:47 ` Ian Lance Taylor
  2007-12-01  5:53   ` mahmoodn
  1 sibling, 1 reply; 8+ messages in thread
From: Ian Lance Taylor @ 2007-11-30 19:47 UTC (permalink / raw)
  To: mahmoodn; +Cc: gcc-help

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: libstdc++.so conflict
  2007-11-30 19:47 ` Ian Lance Taylor
@ 2007-12-01  5:53   ` mahmoodn
  2007-12-01 17:16     ` Ian Lance Taylor
  0 siblings, 1 reply; 8+ messages in thread
From: mahmoodn @ 2007-12-01  5:53 UTC (permalink / raw)
  To: gcc-help


>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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: libstdc++.so conflict
  2007-12-01  5:53   ` mahmoodn
@ 2007-12-01 17:16     ` Ian Lance Taylor
  2007-12-02  5:17       ` mahmoodn
  0 siblings, 1 reply; 8+ messages in thread
From: Ian Lance Taylor @ 2007-12-01 17:16 UTC (permalink / raw)
  To: mahmoodn; +Cc: gcc-help

mahmoodn <nt_mahmood@yahoo.com> writes:

> >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?

Use a newer version of gcc which uses libstdc++.so.6, or use an older
version of the shared library which uses libstdc++.so.5.

Ian

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: libstdc++.so conflict
  2007-12-01 17:16     ` Ian Lance Taylor
@ 2007-12-02  5:17       ` mahmoodn
  2007-12-02  5:19         ` Ian Lance Taylor
  0 siblings, 1 reply; 8+ messages in thread
From: mahmoodn @ 2007-12-02  5:17 UTC (permalink / raw)
  To: gcc-help


>Use a newer version of gcc which uses libstdc++.so.6, or use an older
>version of the shared library which uses libstdc++.so.5.

I use a library which is compatible with GCC 3.3
How about second solution? How can I use (or tell it to use) older version
of libstdc++?



Ian Lance Taylor-3 wrote:
> 
> mahmoodn <nt_mahmood@yahoo.com> writes:
> 
>> >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?
> 
> Use a newer version of gcc which uses libstdc++.so.6, or use an older
> version of the shared library which uses libstdc++.so.5.
> 
> Ian
> 
> 

-- 
View this message in context: http://www.nabble.com/libstdc%2B%2B.so-conflict-tf4902138.html#a14112789
Sent from the gcc - Help mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: libstdc++.so conflict
  2007-12-02  5:17       ` mahmoodn
@ 2007-12-02  5:19         ` Ian Lance Taylor
  2007-12-02 18:05           ` mahmoodn
  0 siblings, 1 reply; 8+ messages in thread
From: Ian Lance Taylor @ 2007-12-02  5:19 UTC (permalink / raw)
  To: mahmoodn; +Cc: gcc-help

mahmoodn <nt_mahmood@yahoo.com> writes:

> >Use a newer version of gcc which uses libstdc++.so.6, or use an older
> >version of the shared library which uses libstdc++.so.5.
> 
> I use a library which is compatible with GCC 3.3
> How about second solution? How can I use (or tell it to use) older version
> of libstdc++?

Find the source code of the library which requires libstdc++.so.6, and
rebuild it from source using gcc 3.3.

That may be painful, but any other solution is going to require
significantly greater pain.

Ian

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: libstdc++.so conflict
  2007-12-02  5:19         ` Ian Lance Taylor
@ 2007-12-02 18:05           ` mahmoodn
  0 siblings, 0 replies; 8+ messages in thread
From: mahmoodn @ 2007-12-02 18:05 UTC (permalink / raw)
  To: gcc-help


>Find the source code of the library which requires libstdc++.so.6, and
>rebuild it from source using gcc 3.3.

>That may be painful, but any other solution is going to require
>significantly greater pain.

Thank you :) I installed a version of QT that was compiled with so.5 and gcc
3.3




Ian Lance Taylor-3 wrote:
> 
> mahmoodn <nt_mahmood@yahoo.com> writes:
> 
>> >Use a newer version of gcc which uses libstdc++.so.6, or use an older
>> >version of the shared library which uses libstdc++.so.5.
>> 
>> I use a library which is compatible with GCC 3.3
>> How about second solution? How can I use (or tell it to use) older
>> version
>> of libstdc++?
> 
> Find the source code of the library which requires libstdc++.so.6, and
> rebuild it from source using gcc 3.3.
> 
> That may be painful, but any other solution is going to require
> significantly greater pain.
> 
> Ian
> 
> 

-- 
View this message in context: http://www.nabble.com/libstdc%2B%2B.so-conflict-tf4902138.html#a14118135
Sent from the gcc - Help mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-12-02 18:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-30  9:13 libstdc++.so conflict mahmoodn
2007-11-30 18:44 ` mahmoodn
2007-11-30 19:47 ` Ian Lance Taylor
2007-12-01  5:53   ` mahmoodn
2007-12-01 17:16     ` Ian Lance Taylor
2007-12-02  5:17       ` mahmoodn
2007-12-02  5:19         ` Ian Lance Taylor
2007-12-02 18:05           ` mahmoodn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).