FC3 on ix86, gcc, library and backward compatibility

Jean-Claude MARQUES marques at lagep.cpe.fr
Fri Jan 7 14:23:19 UTC 2005


Jakub Jelinek a écrit :

>On Fri, Jan 07, 2005 at 08:35:47AM +0100, Jean-Claude MARQUES wrote:
>  
>
>>Yes, but the next post indicates that there is no solution actually.
>>    
>>
>
>That shared library was most likely built incorrectly (my guess is
>it was linked with ld -shared instead of gcc -shared (resp. g++ -shared,
>depending if it is C++ or C only lib)) or been created on really
>prehistorical systems (glibc 2.0.x).
>You can check that by running
>readelf -d /usr/local/vni/CTT3.0/lib/lib.linux/libimslcmath.so | grep NEEDED
>readelf -Ws /usr/local/vni/CTT3.0/lib/lib.linux/libimslcmath.so | grep __ctype_
>  
>
Yes : that is the case :
 readelf -Ws /usr/local/vni/CTT3.0/lib/lib.linux/libimslcmath.so | grep 
__ctype_
   245: 00000000     0 NOTYPE  GLOBAL DEFAULT  UND __ctype_b
   935: 00000000     0 NOTYPE  GLOBAL DEFAULT  UND __ctype_tolower
  3561: 00000000     0 NOTYPE  GLOBAL DEFAULT  UND __ctype_b
  4404: 00000000     0 NOTYPE  GLOBAL DEFAULT  UND __ctype_tolower

These libraries are 4-5 years old, but very expensive and I can't get 
the update for them. I'll try th solution below.

Thank you very much
Jean-Claude




More information about the fedora-list mailing list