[2362] in SIPB_Linux_Development

home help back first fref pref prev next nref lref last post

Re: weird library dependencies??

daemon@ATHENA.MIT.EDU (Aaron M. Ucko)
Tue Jan 5 18:18:55 1999

To: Jeremy Daniel <jdaniel@MIT.EDU>
Cc: linux-dev@MIT.EDU
From: amu@MIT.EDU (Aaron M. Ucko)
Date: 05 Jan 1999 18:18:46 -0500
In-Reply-To: Jeremy Daniel's message of "Tue, 05 Jan 1999 17:56:32 EST"

Jeremy Daniel <jdaniel@MIT.EDU> writes:

> athena% /mit/perl5/bin/perl -version
> Segmentation fault (core dumped)
> Exit 139
> athena% ldd /mit/perl5/bin/perl
>         libdb.so.2 => /lib/libdb.so.2 (0x40003000)
>         libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0x40011000)
>         libdl.so.1 => /lib/libdl.so.1 (0x40017000)
>         libm.so.5 => not found
>         libc.so.5 => not found
>         libc.so.6 => /lib/libc.so.6 (0x4001b000)
>         /lib/ld-linux.so.1 => /lib/ld-linux.so.2 (0x00000000)
> 
> the perl binary in the locker probably needs to be rebuilt.  Perhaps
> libc5 should exist for compatibility if libdl.so.1 is going to be
> around...having one and not the other, seems like it's likely to break
> other things too I think...

libc5 is in fact installed.  However, ldd doesn't deal properly with
libc5 binaries, and some libc5 libraries perl uses (including -ldb and
-lgdbm) are missing from Red Hat's libc5 compatibility package.

-- 
Aaron M. Ucko, KB1CJC <amu@mit.edu> (finger amu@monk.mit.edu)

home help back first fref pref prev next nref lref last post