[BusyBox] Help! Booting NFS with ARM using shared libraries
Erik Andersen
andersen at codepoet.org
Thu Apr 17 02:18:56 UTC 2003
On Wed Apr 16, 2003 at 07:00:22PM -0700, yukwing.li at conexant.com wrote:
> Hi Erik,
>
> Thanks for the info.
>
> My problem is that I am trying to figure out why Busybox cannot start
> (with the error "init: error while loading shared libraries: libc.so.6:
> cannot open shared object file") in my ARM platform. The 'ldd' command in
> my i386 platform is not capable of recognizing ARM or MIPS executables. It
> sounds like I need to find the source of ldd and build an ARM version of
> it, and then use a static version of Busybox to boot up my ARM platform in
> order to run 'ldd' on the dynamic version of Busybox to see what other
> libraries are needed. Is that what are you suggesting?
You could use the uClibc version of 'ldd', or you could use
readelf, i.e.:
$ file ./busybox
./busybox: ELF 32-bit LSB executable, ARM, version 1 (ARM), for
GNU/Linux 2.0.0, dynamically linked (uses shared libs), stripped
$ readelf -a ./busybox | grep NEEDED
0x00000001 (NEEDED) Shared library: [libc.so.0]
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
More information about the busybox
mailing list