On Wednesday 22 August 2007, Peter O'Gorman wrote: > libsuff=`ldd conftest 2>/dev/null | awk '/libc\.so/ > {n=split([$]3,x,"/"); for (i=0; i < n; i++) { if (x[[i]] == "lib64") {print > "64"}}}'`
this test would still be subject to the environment of ldd ... in otherwords, it is still possible to have ldd return /lib/libc.so.6 when /lib is a symlink to /lib64 ... since the dynamic loader is the only hardcoded path, wouldnt it be better to check that ? so drop the /libc\.so/ and change the $3 to $1 ... -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool