init: cannot load libc.so.0, kernel panic:trying to kill init

Rob Landley rob at landley.net
Fri Oct 21 17:21:52 UTC 2011


On 10/21/2011 05:02 AM, Mahanteshwari Hiremath wrote:
> Hi WANG.Jiong,
> 
> Thanks for your reply.
> It really helped me to run standalone application on my linux machine.
> Problem what I am facing is with the x86 board, which is failing to boot.
> I have used rootfs generated from buildroot along with toolchains which gives the following error during boot :
> 
>  >/sbin/init:can't load libc.so.0
>  >kernel panic: trying to kill init
> 
> Please help me out in solving the issue. Im not even able to do anything as it is showing kernel panic.

Run uClibc's ldd against your binary.  (Note that glibc's won't work
against uClibc, but uClibc's will work against glibc.  Which is better
is left as an exercise for the reader.)

If you haven't got uClibc's ldd, run readelf -a against it and grep for
the word "interpreter".

Rob


More information about the uClibc mailing list