[BusyBox] Problem compiling against uClibc...

Erik Andersen andersen at lineo.com
Thu Feb 1 04:00:43 UTC 2001


On Wed Jan 31, 2001 at 09:00:41PM -0500, Tom Cameron wrote:
[----------snip-------------]
> usage.o utility.o pwd_grp/libpwd.a
> /usr/bin/ld: cannot find -luClibc
[----------snip-------------]
> 	Does this mean anything to anyone?  Does anyone have any ideas about
> how to fix this...or if it's even a BB problem?  I'll be hunting around fhr
> an error on my side...but please let me know what you all think.  Thanks in

Just a matter of setup.  Here is how to fix it.  

    $ cd <where uClibc is>
    $ su 
    Password:
    # cp libuClibc.so.1 /lib
    # ln -s /lib/libuClibc.so.1 /lib/libuClibc.so
    # ldconfig
    # exit
    exit
    $ cd <where BusyBox is>
    $ make

and it should work this time.  You can do a 

    $ ldd ./busybox

just to be sure,

 -Erik

--
Erik B. Andersen   email:  andersen at lineo.com
--This message was written using 73% post-consumer electrons--





More information about the busybox mailing list