Re: ldd
Philip Blundell <philb@gnu.org> writes:
> >- old problem, but increasingly annoying. If you are building a root
> > disk with a different libc6 from the one installed, you will fail:
> > E: no libraries identified dynamically
> > I wish someone would workout how we can do the ldd step in
> > rootdisk.sh (line 465) in a chroot context? Is possible?
>
> What causes the failure -- mismatch between ldd and libc?
I guess...
> It might help to
> eschew `ldd' in favour of directly invoking ld.so:
> TMP=`$E/lib/$ldlib --library-path $E/lib:$E/usr/lib --list $EXECUTABLES 2>/dev/null | \
> awk -- '{print $3}' | fgrep -v "dynamic" | sort -u`
>
> Or something.
Please try that out. I would love it if we could do something like
this in rootdisk.sh. Have at it!
--
.....Adam Di Carlo....adam@onshore.com.....<URL:http://www.onshored.com/>
Reply to:
- Follow-Ups:
- Re: ldd
- From: Philip Blundell <philb@gnu.org>
- References:
- ldd
- From: Philip Blundell <philb@gnu.org>