ch5 perl linked to /lib

Bruce Dubbs bruce.dubbs at gmail.com
Sat Jan 2 14:42:27 PST 2010


Ken Moffat wrote:

> Supporting evidence after latest attempt to rebuild perl:
> lfs at bluesbreaker ~$ ldd /mnt/lfs/building/perl-5.10.1/perl
> 	linux-vdso.so.1 =>  (0x00007fff27fff000)
> 	libnsl.so.1 => /lib/libnsl.so.1 (0x00007fd0996ed000)
> 	libdl.so.2 => /lib/libdl.so.2 (0x00007fd0994e9000)
> 	libm.so.6 => /lib/libm.so.6 (0x00007fd099267000)
> 	libcrypt.so.1 => /lib/libcrypt.so.1 (0x00007fd099030000)
> 	libutil.so.1 => /lib/libutil.so.1 (0x00007fd098e2d000)
> 	libc.so.6 => /lib/libc.so.6 (0x00007fd098adb000)
> 	/lib/ld-linux-x86-64.so.2 (0x00007fd099905000

I'm not sure why the difference, but I have:

$ ldd /usr/bin/perl
     linux-vdso.so.1 =>  (0x00007fffbe59a000)
     libnsl.so.1 => /lib/libnsl.so.1 (0x00007ff0f670d000)
     libdl.so.2 => /lib/libdl.so.2 (0x00007ff0f6509000)
     libm.so.6 => /lib/libm.so.6 (0x00007ff0f6287000)
     libcrypt.so.1 => /lib/libcrypt.so.1 (0x00007ff0f6050000)
     libutil.so.1 => /lib/libutil.so.1 (0x00007ff0f5e4d000)
     libc.so.6 => /lib/libc.so.6 (0x00007ff0f5afa000)
     /lib64/ld-linux-x86-64.so.2 (0x00007ff0f6925000)

So the only difference seems to be the last line.  I don't know why ldd 
thinks there is a difference as I have

   lrwxrwxrwx  1 root root     3 Aug 16 12:25 lib64 -> lib

   -- Bruce



More information about the lfs-support mailing list