[uClibc]ldd mess

Erik Andersen andersen at codepoet.org
Tue Oct 16 07:31:23 UTC 2001


On Tue Oct 16, 2001 at 07:10:14AM +0000, jmc wrote:
> Hi, 
> I hope my question is not too general. I'm trying
> to use uclibc as my main library for a bootdisk,
> and want to compile applications against it.
> Uclibc itself compiles fine, but whenever I try to
> compile aginst it the resulting binaries always
> point to strange places. For example `ldd busybox'
> depends on ld.so.0 which is a link to
> /usr/i386-linux-uclibc/lib/lib...I DONT want this
> hard-coded into my binaries. I have played with
> the damn USER_PREFIX/DEVEL_PREFIX for ages, but I
> can't get them to point in the right place. Can
> anyone suggest the correct prefixes to have my
> binaries linked to /lib ONLY?

Why don't you grab a copy of buildroot.tar.gz,
which is the definitive example of how to build
a busybox + uClibc root filesystem.  It will show
you how to do the Right Thing(tm).  I think the
Makefile is pretty self explanitory. 
    ftp://uclibc.org/buildroot.tar.gz

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--





More information about the uClibc mailing list