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: [bug] glibc-2.2: ldconfig parses ld-linux.so.2 link wrong


>>>>> Ben Collins writes:

 > This is the output I get from running ldconfig on a newly compiled glibc
 > 2.2 setup (sparc-linux, gcc-2.95.2):

 > %ldconfig
 > ldconfig: Can't stat .2

 > Strace output shows this:

 > stat("/lib/ld-linux.so.2", {st_mode=S_IFREG|0755, st_size=463501, ...}) = 0
 > stat(".2", 0xefffe5d0)                  = -1 ENOENT (No such file or directory)
 > write(2, "ldconfig: ", 10)              = 10
 > write(2, "Can\'t stat .2\n", 14)        = 14
 > write(2, "\n", 1)                       = 1

 > %l /lib/ld-*
 > -rwxr-xr-x    1 root     root       463501 Nov 10 00:18 /lib/ld-2.2.so*
 > lrwxrwxrwx    1 root     root            9 Nov 10 00:53 /lib/ld-linux.so.2 -> ld-2.2.so*

 > If I change ld-2.2.so to ld-2.2.0.so (and resymlink), then it works as
 > fine. I haven't looked, but it seems the 2 digit version is making it
 > barf. I can check into it tomorrow.

I'll look into it later, but can't reproduce this on ia32.  Can you
send me the output of ldconfig -vn /lib from the unmodified version, please?

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]