[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#334467: /bin/sh: error while loading shared libraries: libm.so.6



tags 334467 pending
stop

On Tue, Oct 18, 2005 at 08:05:06AM +0200, Jean Charles Delépine wrote:
> poucet:/home/jcd# mkinitramfs -k -o /boot/initramfs.img-2.6.14-rc4-git4
> 2.6.14-rc4-git4
> Working files in /tmp/mkinitramfs_R9QJFq and overlay in /tmp/mkinitramfs-OL_mPaz0q
> poucet:/home/jcd# cp -rL /tmp/mkinitramfs_R9QJFq/ initramfs
> poucet:/home/jcd# chroot initramfs/ /bin/sh
> /bin/sh: error while loading shared libraries: libm.so.6: cannot open
> shared object file: No such file or directory
> 
> poucet:/home/jcd# ldd initramfs/bin/busybox 
>         linux-gate.so.1 =>  (0xffffe000)
>         libm.so.6 => /lib/tls/libm.so.6 (0xb7eb9000)
>         libcrypt.so.1 => /lib/tls/libcrypt.so.1 (0xb7e8b000)
>         libc.so.6 => /lib/tls/libc.so.6 (0xb7d53000)
>         /lib/ld-linux.so.2 (0xb7eed000)
> 
> poucet:/home/jcd# ls -ld initramfs/lib/tls
> ls: initramfs/lib/tls: No such file or directory

thanks for your precise bug reprot, that can be so easily reproduced!

indeed the right dependency for initramfs-tools is busybox-static.


--
maks



Reply to: