lkml.org 
[lkml]   [1997]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectld links static after upgrading libc
Chris Y. wrote:
>
> Hi,
>
> I seem to be having a problem that I can't explain. I am using Kernel
> 2.1.17 along with GCC V2.7.2.1, libc 5.4.17, binutils 2.7.0.3.
>
> Now when I compile anything, libc is compiled in statically, and when I
> pass the switch -shared the binary seg faults.

Check symlinks. You should have:

/lib/libc.so.5 -> /lib/libc.so.5.4.17
/lib/libc.so -> /lib/libc.so.5
/usr/lib/libc.so.5 -> /lib/libc.so.5

I had same problem a while ago, guess either RH 3.0.3 had it wrong
with symlinks or libc-5.4.1x.bin.tar.gz misses the /usr/lib link...
or I simply blew something during upgrade :)

Cheers,

--alessandro <asuardi@uninetcom.it> <asuardi@it.oracle.com>

Linux kernel-2.1.20 libc-5.4.17 gcc-2.7.2.1 binutils-2.7.0.3



\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.038 / U:1.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site