From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21019 invoked by alias); 1 Dec 2007 05:53:57 -0000 Received: (qmail 21010 invoked by uid 22791); 1 Dec 2007 05:53:56 -0000 X-Spam-Check-By: sourceware.org Received: from kuber.nabble.com (HELO kuber.nabble.com) (216.139.236.158) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 01 Dec 2007 05:53:50 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IyLIR-0006Wm-Qd for gcc-help@gcc.gnu.org; Fri, 30 Nov 2007 21:53:47 -0800 Message-ID: <14102515.post@talk.nabble.com> Date: Sat, 01 Dec 2007 05:53:00 -0000 From: mahmoodn To: gcc-help@gcc.gnu.org Subject: Re: libstdc++.so conflict In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: nt_mahmood@yahoo.com References: <14042401.post@talk.nabble.com> X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2007-12/txt/msg00006.txt.bz2 >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 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 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.