This is the mail archive of the gcc@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: /lib/libstdc++.so.5: no version information available


Wait a minute. I tried to install the rpm package binutils-2.11.90.0.8-12
from the RHAS 2.1 CD1 and I got the message that it is already installed. If
that is the case why the error??

-----Original Message-----
From: law@redhat.com [mailto:law@redhat.com]
Sent: Thursday, September 11, 2003 2:58 PM
To: Jakub Jelinek
Cc: Misra, Aveek; 'Dan Kegel'; GCC Mailing List
Subject: Re: /lib/libstdc++.so.5: no version information available 


In message <20030911162206.GB12344@sunsite.ms.mff.cuni.cz>, Jakub Jelinek
write
s:
 >On Thu, Sep 11, 2003 at 02:15:49PM -0400, Misra, Aveek wrote:
 >> Dan,
 >>    I compiled the application on the same platform RHAS 2.1. So we are
 >> building the application using gcc 3.2.1 on a RHAS 2.1 machine and
shipping
 >> the gcc runtime libs along with the product. In fact we are building our
ow
 >n
 >> gcc using the source. However when I gave the option
--enable-symvers=gnu t
 >o
 >> the configure script and subsequently gave the make command, I
encountered
 >> the following error
 >> 
 >> O1 -Wl,--version-script=linker.map -Wl,-soname -Wl,libstdc++.so.5 -o
 >> .libs/libstdc++.so.5.0.1
 >> /usr/bin/ld:linker.map:31: ignoring invalid character `[' in script
 >> /usr/bin/ld:linker.map:31: parse error in VERSION script
 >> collect2: ld returned 1 exit status
 >> make: *** [libstdc++.la] Error 1
 >> 
 >> The line no 31 in version script
 >> gcc-3.2.1/i686-pc-linux-gnu/libstdc++-v3/src/linker.map is 
 >> 
 >> GLIBCPP_3.2 {
 >> 
 >>   global:
 >> 
 >>     # Names inside the 'extern' block are demangled names.
 >>     # All but the last are terminated with a semicolon.
 >>     extern "C++"
 >>     {
 >>       std::[A-Za]*;  <=============================== Line 31
 >> 
 >> 
 >> What do I do now?
 >
 >For that you need binutils >= 2002-02-14, ie. 2.12 or later.
 >RHAS 2.1 binutils are 2.11.90.0.*-ish.
Also note that I believe there are problems if you try to update binutils
on an RHAS 2.1 system.  IIRC newer versions of binutils cause modutils
certain difficulties if you build kernel modules with the new
assembler/linker.

jeff


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