Re: OCCI build warning (libstdc++.so.5 needed by ...)

From: herbert koelman <herbert.koelman_at_urbix.fr>
Date: Sat, 04 Nov 2006 18:06:06 +0100
Message-ID: <454cc883$0$30317$426a34cc_at_news.free.fr>


Frank van Bortel wrote:

> herbert koelman schreef:

>> When building a simple OCCI program on Fedora C6 I get the next warning:
>>
>> [at home]$ make conn
>> g++ -I
>> /usr/lib/oracle/xe/app/oracle/product/10.2.0/client/rdbms/public/ -g -L
>> /usr/lib/oracle/xe/app/oracle/product/10.2.0/client/lib -L
>> /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib -locci -lclntsh
>> -lpthread conn.cc -o conn
>>
>> /usr/bin/ld: warning: libstdc++.so.5, needed by
>> /usr/lib/oracle/xe/app/oracle/product/10.2.0/client/lib/libocci.so, may
>> conflict with libstdc++.so.6
>>
>> A find on my /usr directory returned :
>> /usr/lib/libstdc++.so.6
>> /usr/lib/libstdc++.so.5.0.7
>> /usr/lib/libstdc++.so.6.0.8
>> /usr/lib/libstdc++.so.5
>>
>> It appears that the wanted library is available.
>>
>> What's wrong ?
> 
> Force libstdc++.so.6 to be deinstalled, and libstdc++.so.5
> to be installed. You can probably even try without resolving
> dependencies.
> Did you check Werner Puschitz' site (www.puschitz.com )?
> 

Hey you cannot just uninstall libraries :-))

They are used by other programs.

I resolved my problem by adding /usr/lib/libstdc++.so.5 on linker's command line. My program now runs fine.

Thank you Received on Sat Nov 04 2006 - 18:06:06 CET

Original text of this message