[BusyBox] kernel 2.4.2 libs required

Paul Farber farber at admin.f-tech.net
Tue Mar 20 15:49:35 UTC 2001


/etc/init.d/rcS:

#!/bin/sh
echo "Starting to mount"
/bin/mount -a
/bin/hostname
/sbin/ldconfig -v

/lib now includes:
-rwxr-xr-x   1 root     root       102487 Mar 19 22:38 ld-2.1.95.so
lrwxrwxrwx   1 root     root           12 Mar 19 22:39 ld-linux.so.2 ->
ld-2.1.95.so
-rwxr-xr-x   1 root     root       104236 Mar 20 00:12 ld.so
-rwxr-xr-x   1 root     root      1377143 Mar 20 00:04 libc-2.1.95.so
lrwxrwxrwx   1 root     root           14 Mar 19 22:37 libc.so.6 ->
libc-2.1.95.so
-rwxr-xr-x   1 root     root        26348 Mar 19 22:39 libcrypt-2.1.95
lrwxrwxrwx   1 root     root           15 Mar 19 22:39 libcrypt.so.1 ->
libcrypt-2.1.95

/etc/ld.so.cache is there.

bb and tinylogin are set up to not need nss libs (as per the Makefile).

I've ldd'd the heck out of everything and no go with shared libs.

Paul Farber
Farber Technology
farber at admin.f-tech.net
Ph  570-628-5303
Fax 570-628-5545

On Tue, 20 Mar 2001, Andreas Neuhaus wrote:

> 
> > Hello all..
> > still getting mostly failures with using kernel 2.4.2 and bb .50
> > my lib dir has the following:
> :
> > ld.so.conf :
> > # cat ld.so.conf
> > /lib/
> > /usr/lib/
> > and bb boots when staticly compiled, but not when shared libs are used.
> > bb and tinylogin are the only binaries on the root disk... yet I never get
> > to a login prompt.
> 
> probably the dynamic loader cannot find the shared libraries (that was the
> problem in my case). you don't need to have /etc/ld.so.conf, you need
> /etc/ld.so.cache (which is generated by ldconfing from ld.so.conf). either
> you run ldconfig on bootup, or you create ld.so.cache by calling ldconfig
> with parameter -r when building your rootdisk
> 
> regards,
> andreas neuhaus
> 
> 
> 






More information about the busybox mailing list