[BusyBox] Compiling busybox with uClibc

David Schleef ds at schleef.org
Fri Aug 3 15:32:55 UTC 2001


On Thu, Aug 02, 2001 at 06:14:27PM -0400, David Douthitt wrote:
> I'm doing this for the first time (with CVS); I've compiled numerous
> times against GNU libc.  What I'm trying to do is link against uClibc
> statically and thus get rid of the need for GNU libc during startup.
> 
> This is what I see:
> 
> # file ./busybox
> ./busybox: ELF 32-bit LSB executable, Intel 80386, version 1,
> dynamically linked (uses shared libs), not stripped
> # ls -l ./busybox
> -rwxrwxr-x    1 root     1000       593564 Aug  2 17:54 ./busybox
> # ./busybox
> ksh: ./busybox: No such file or directory
> #
> 
> I'd at least hoped for an error that some one or another library was
> missing.  I also got that "No such file" when I tried to use ldd (when I
> had a nondebuggable busybox).


This typically happens because it can't find the ELF interpreter,
which you probably don't have installed.  Run 'readelf -l busybox',
and you should see a line such as:

      [Requesting program interpreter: /lib/ld-uClibc.so.0]

You need to have this installed and/or a link to where it exists.



dave...







More information about the busybox mailing list