[BusyBox] How to set "Requesting interpreter"?

Csaba Henk ekho at renyi.hu
Sun Apr 27 17:58:25 UTC 2003


Hello!

I'm making a bootfloppy which uses busybox and uClibc. Just as usual,
uClibc libs are in /usr/i386-uclibc/lib in the machine where I put
together the floppy.

However, on the floppy I put the uClibc libs to /lib. But if I do not
include a symlink /usr/i386-uclibc/lib->../../lib, busybox dies. ldd shows
no absolute paths in the list of libraries being linked against:

$ ldd busybox
        libc.so.0 => /usr/i386-linux-uclibc/lib/libc.so.0 (0x0x40006000)
        ld-uClibc.so.0 => /usr/i386-linux-uclibc/lib/ld-uClibc.so.0
(0x0x40000000)

but an absolute path is found in the following way: 

$ readelf -a busybox | grep /usr
      [Requesting program interpreter:
/usr/i386-linux-uclibc/lib/ld-uClibc.so.0]

I don't know what this "Requesting program interpreter" is, but I think
this should be set to ld-uClibc.so.0 to get rid of that ugly symlink.

How to compile busybox to achieve this?

(Sorry if I'm too ignorant. I would RTFM but I don't know which one. I
checked	Config.h and Makefile, but I found nothing appropriate.)

Thanks, Csaba 





More information about the busybox mailing list