This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: soname vs. glibc-2.1.92/scripts/test-installation.pl
- To: "Adam J. Richter" <adam at yggdrasil dot com>
- Subject: Re: soname vs. glibc-2.1.92/scripts/test-installation.pl
- From: Andreas Jaeger <aj at suse dot de>
- Date: 25 Aug 2000 09:56:35 +0200
- Cc: libc-alpha at sourceware dot cygnus dot com
- References: <200008250731.AAA23161@baldur.yggdrasil.com>
>>>>> Adam J Richter writes:
> I have not studied the code involved enough to be sure, but
> I think that glibc-2.1.92/scripts/test-installation.pl does not
> work with libraries that have a soname different from their file names.
> I stumbled across this problem when test-installation.pl attempted
> to link a test program with -ldb and looked for libdb.so in the
> output of ldd'ing that program. The problem was that libdb.so was
> built as libdb-3.1.so, and libdb.so was just a symlink, so it
> presumably was built with the soname libdb-3.1.so (I am not quite
> sure how to extract this from a .so, but turns up when I run strings
> on the library).
> For the moment, I have kludged our local test-installation.pl
> with the patch below. I think the correction solution is for
> test-installation.pl to scan ldd's output for the soname's of the
> libraries rather than the names actually specified with "-l".
We've removed *db* from everywhere in glibc for 2.1.93, the fixes you
made shouldn't be necessary anymore.
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj