[Udpcast] pxe undi network driver

Alain Knaff alain at knaff.lu
Fri Dec 5 09:59:57 CET 2003

begin  Friday 05 December 2003 09:54, Alain Knaff quote:
[File not found issue]
> Here is how to find out which libraries you need.

Oops, there is an easyer way to find out which shared libraries are
needed: the ldd command :

> ldd /sbin/hdparm
        libc.so.6 => /lib/tls/libc.so.6 (0x009d6000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00d9c000)

These libraries may be symlinks, but you need to include the actual
file on the initrd:

> ls -ld /lib/ld-linux.so.2
lrwxrwxrwx    1 root     root           11 Nov 27 15:35 /lib/ld-linux.so.2 -> 

> ls -ld /lib/tls/libc.so.6
lrwxrwxrwx    1 root     root           13 Nov 27 15:35 /lib/tls/libc.so.6 -> 

Once you have these, just include the needed libraries onto your

./makeImage -k /usr/src/linux-2.4.22/arch/i386/boot/bzImage -c \
/tftpboot/udpcast/images/udpcd.img -i /tftpboot/udpcast/initrd --bzip \
-m bcm5700 --merge /bin/hdparm=/chroot-test/bin/hdparm \
/lib/ld-linux.so.2=/lib/ld-2.3.2.so \


More information about the Udpcast mailing list