[uClibc]booting with busybox and shared libraries
Jason Luther
jason at airwave.com
Sat Oct 20 01:28:56 UTC 2001
Hello, all.
I am trying to boot Linux 2.4.12 with busybox-0.60.1 complied against uClibc
(yesterday's snapshot) on an i386 machine. This is what I get:
...
Freeing unused kernel memory: 204k freed
Kernel panic: No init found. Try passing init= option to kernel.
If I compile busybox (or any other program placed at /sbin/init) statically,
everything works fine. If I run programs compiled against uClibc in my
development environment (Red Hat 7.1), they run okay.
That leads me to believe that I have done something wrong in building uClibc
or in installing it onto my target. I'm using whatever compiler comes with
Red Hat (gcc --version reports 2.96). If I run 'ldd libuClibc-0.9.5.so', it
depends on these things:
/lib/libNoVersion.so.1 => /lib/libNoVersion.so.1 (0x40031000)
ld-uClibc.so.0 => not found
libc.so.6 => /lib/i686/libc.so.6 (0x40048000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)
More information about the uClibc
mailing list