This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


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

Re: soname vs. glibc-2.1.92/scripts/test-installation.pl


>>>>> 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

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