On Wed, 2011-12-28 at 15:01 +0100, Pierre Labastie wrote:
> I meant `current trunk' too. The change in version 3537 is not enough.
> Here is what I have done (not checked on any other system than Debian,
> but I do not see a reason why it would not work):
> # if [ -f /lib/libc.so.6 ]; then
> # libcLoc=/lib;
> # elif [ -f /lib64/libc.so.6 ]; then
> # libcLoc=/lib64;
> # fi;
> # libcVer="`/${libcLoc}/libc.so.6 | head -n1`"
> libcExec="`find /lib /lib64 -name libc.so.6 -print`"
> libcVer="`/${libcExec} | head -n1`"
How odd. I was going to suggest you run some tests so I can figure out
why r3537 isn't enough for Debian systems, but your version is a lot
more compact and appears to work on my Fedora host too, so I may as well
just drop it straight in. Thanks for the fix.
Regards,
Matt.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page