prelinking with uClibc?

Filippo ARCIDIACONO filippo.arcidiacono at st.com
Fri Jul 20 07:10:32 UTC 2012



> -----Original Message-----
> From: uclibc-bounces at uclibc.org [mailto:uclibc-bounces at uclibc.org] On
> Behalf Of Lance Spaulding
> Sent: Friday, July 20, 2012 5:23 AM
> To: uclibc at uclibc.org
> Subject: prelinking with uClibc?
> 
> I'm unable to get prelinking to work with uClibc.  I'm using prelink_cross
from
> http://git.yoctoproject.org/cgit/cgit.cgi/prelink-cross and running it via
> "prelink --root $ROOTDIR -amR -N  --verbose -c /etc/prelink.conf".
> When I run it, it shows output similar to "prelink: /bin/busybox: Using
/lib/ld-
> uClibc.so.0, not /lib/ld-linux.so.3 as dynamic linker" for each binary it
finds
> but doesn't actually change any files on the root filesystem.  Can anyone
tell
> me what I'm doing wrong?

I don't know how cross-prelink works but I don't think uClibc is supported
in cross-prelink 
Nor uClibc support it.
What uClibc is able to do is to prelink  binaries/libraries directly on
target machine.
Follow the command to prelink hello with uClibc:
prelink -c /etc/prelink.conf -C /etc/prelink.cache
--ld-library-path=<your_library_path> --dynamic-linker=/lib/ld-uClibc.so.0
-vm hello

> 
> Thanks,
> Lance

Filippo
> 
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://lists.busybox.net/mailman/listinfo/uclibc



More information about the uClibc mailing list