Re: [bdbxml] Another error while installing (SOL. 8)

Tom McCubbin <[email protected]> Wed, 14 Sep 2005 12:03:19 -0400
Newsgroups gmane.comp.db.dbxml.general
Message-ID <[email protected]>
I think a reinstall would be a good idea.  pkgrm the old one, and make 
sure there are no libstdc++.so.5 files hanging around (  UNLESS it is 
needed for something else! ) If it remains, make sure when 
compiling/linking that the path to the old c++ runtime is not there, and 
that should have everything working.

Here's a snippet from a ldd on a lib i have here compiled w/ gcc-3.4.2: 
(notice the libstdc++.so.6)

        libboost_date_time-gcc-mt.so =>  
/export/home/tmccubbi/usr/local/lib/libboost_date_time-gcc-mt.so
        libgc.so.1 =>    /export/home/tmccubbi/usr/local/lib/libgc.so.1
        libboost_thread-gcc-mt.so =>     
/export/home/tmccubbi/usr/local/lib/libboost_thread-gcc-mt.so
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libxml2.so.2 =>  /export/home/tmccubbi/usr/local/lib/libxml2.so.2
        libpthread.so.1 =>       /usr/lib/libpthread.so.1
        libz.so.1 =>     /usr/lib/libz.so.1
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libstdc++.so.6 =>        /usr/local/lib/libstdc++.so.6
        libm.so.1 =>     /usr/lib/libm.so.1
        libgcc_s.so.1 =>         /usr/local/lib/libgcc_s.so.1

bash-2.03$ g++ --version
g++ (GCC) 3.4.2
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Kris Wolff wrote:

>Hey Tom, 
>
>Thank you for the hint. I will check if i can fix that. 
>Do you think, a reinstallation of gcc will help me?
>
>Kris
>
>
>
>On 14 Sep 2005 at 10:57, Tom McCubbin wrote:
>
>  
>
>>Notice the libstdc++.so.5.  That is an old version of the c++ runtime
>>used for compat reasons normally.  When compiling anew w/ gcc 3.4.2 it
>>should be trying to use libstdc++.so.6.  I'd say something is awry in
>>your build config.
>>
>>I have solaris sparc 2.8, and haven't had any problems building w/ the
>>gcc 3.4.x version of compilers.
>>
>>    
>>
>>>>const&).libs/eval.o  (symbol belongs to implicit dependency
>>>>/usr/local/lib/gcc/i386-pc-solaris2.8/3.4.2/../../../libstdc++.so.5
>>>>) ld: fatal: Symbol referencing errors. No output written to
>>>>.libs/eval collect2: ld returned 1 exit status make: *** [eval]
>>>>Error 1
>>>>
>>>>Does anyone know how to get rid of it? How to run buildall on a 
>>>>solaris 2.8 on Intel Proc?
>>>>        
>>>>
>>>      
>>>
>>>Offhand, I am not certain what that failure is.  Internally, we test
>>> with Solaris and its native compilers, and have had some issues
>>>with gcc on Solaris.
>>>
>>>This specific error is ignorable, as it's in test code, but it may
>>>be indicative of errors to come.
>>>
>>>What versions of gcc and the native compiler are on your Solaris
>>>machine?
>>>
>>>      
>>>
>>>>I really want to get start to get familiar with sleepycat because
>>>>it sounds good to me, java and perl is what i need! So Sleepycat
>>>>xml is excactly for what i am looking for. But.... i can not get it
>>>>to  work to run a simple example to get start with it, so....
>>>>please help me with  the first steps.
>>>>        
>>>>
>>>What platform(s) are important to you?
>>>
>>>Regards,
>>>
>>>George
>>>
>>>
>>>
>>>------------------------------------------
>>>To remove yourself from this list, send an
>>>email to [email protected]
>>>      
>>>
>>
>>    
>>
>
>
>
>  
>



------------------------------------------
To remove yourself from this list, send an
email to [email protected]