This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

/sbin/init : error libc.so.6

Other Parts Discussed in Thread: AM3352

Hi,

I want to know busybox cross compile option.

In my target board, following error occurred.

#################################################

RAMDISK: squashfs filesystem found at block 0
RAMDISK: Loading 12796KiB [1 disk] into ram disk... done.
VFS: Mounted root (squashfs filesystem) readonly on device 1:0.
devtmpfs: mounted
Freeing unused kernel memory: 236K (c0769000 - c07a4000)
/sbin/init: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00

#################################################

my environment :

  host : ubuntu-14.04.3 64bit

  am3352

  ti-processor-sdk-linux-am335x-evm-02.00.01.07

my busybox cross compile option :

PATH="/opt/ti-processor-sdk-linux-am335x-evm-02.00.01.07/linux-devkit/sysroots/x86_64-arago-linux/usr/bin:/usr/lib/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-

make install ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-

ps.

ti-sdk-am335x-evm-08.00.00.00 environment was not a problem.