On Thu, Dec 29, 2011 at 03:56:39PM -0600, Bruce Dubbs wrote: > > I think that idea is fine, but wonder about the use of awk. It may not > be available. Perhaps: > > ldd /bin/ls | grep '/libc.*so' > > I don't think stripping the cruft is really necessary. > > LFS 32-bit: libc.so.6 => /lib/libc.so.6 (0xb7e46000) > Ubuntu : libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7e24000) > LFS 64-bit: libc.so.6 => /lib/libc.so.6 (0x00007fa7f6920000) > RHEL : libc.so.6 => /lib/tls/libc.so.6 (0x0025e000) > > -- Bruce
In LFS we already require that /usr/bin/awk should exist. In version-check.sh it's 2 lines before we test the version of libc. Dunno if jhalfs differs, but it seems a pretty essential requirement. ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page