[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ldd



>- 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?  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.

p.




Reply to: