/sbin/init: can't load library 'libc.so.0'

Hi all,

My device is using mips toolchain, when I try to execute init, but libc.so.0 is missing.
libc.so.0 is

[qfn88@fb4cee479c1a] openwrt$ find staging_dir/target-mips-linux_uClibc/ -name libc.so* | xargs ls -al
-rw-r--r-- 1 builder builder 308 Jun 10 16:32 staging_dir/target-mips-linux_uClibc/root-rts3916n/lib/libc.so
lrwxrwxrwx 1 builder builder  19 Jun 10 16:32 staging_dir/target-mips-linux_uClibc/root-rts3916n/lib/libc.so.0 -> libuClibc-1.0.31.so
lrwxrwxrwx 1 builder builder  19 Jun 10 16:32 staging_dir/target-mips-linux_uClibc/root-rts3916n/lib/libc.so.1 -> libuClibc-1.0.31.so

[qfn88@fb4cee479c1a] openwrt$ find staging_dir/ -name libuClibc-1.0.31.so

libuClibc-1.0.31.so only show up at toolchain.

I check 'toolchain/uClibc/Makefile', only build HostBuild.

My question is how do I install libuClibc-1.0.31.so into rootfs? Thanks.

Hi all,

I figure out the problem. libc.so.0 link to libuClibc-xx.so, this is not normal case for openwrt.
So, I install libuClic-xxx.so into rootfs, any problem is gone. Thanks.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.