Problem with shared libraries

Marc.Bodmer at securiton.ch Marc.Bodmer at securiton.ch
Wed Feb 1 11:47:43 UTC 2006


Hello

I am working on a PPC embedded System.
Linux ist booted from an initrd Image and runs in a ramdisk.

I do the following:
- build BusyBox
- "make install" to Initrd "Image" (Folder representing its content)
- create initrd image
- rebuild kernel (2.4.4) with make "zImage.initrd" (includes initrd)
- reboot

When I statically build BusyBox, everything works fine as expected (The
system boots).
However when I choose to build BusyBox with shared libraries I get the
following boot error:

Kernel panic: No init found. Try passing init= option to kernel.

I assume BusyBox cannot find the shared libraries. But the libraries I
compiled against are available in /lib.
"readelf" tells me that BusyBox needs "glibc" and "libcrypt" those
are available.
Do I have to set something special to enable BusyBox to find those
libraries?

Unfotunately I did not find anything about this in the list archives, even
though there are many topics including the "No init found" error message.

Thanks for any help
Marc





Sorry for the disclaimer, it's automatically attached...


<html>
<body>
<font face = "arial" size = "1">
---------------------------------------------------------------------------------------------------------
This e-mail is confidential and may contain privileged information.
It is intended only for the addressees. If you have received this
e-mail in error, kindly notify us immediately by telephone or e-mail
and delete the message from your system.
---------------------------------------------------------------------------------------------------------
</font>
</body>
</html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20060201/0b181f6e/attachment.htm 


More information about the busybox mailing list