Copying old NSS library files If your normal Linux system runs glibc-2.0, you need to copy the NSS library files to the LFS partition. Certain statically linked programs still depend on the NSS library, especially programs that need to lookup usernames,userid's and groupid's. You can check which C library version your normal Linux system uses by running:
strings /lib/libc* | grep "release version"
The output of that command should tell you something like this:
GNU C Library stable release version 2.1.3, by Roland McGrath et al.
If you have Glibc-2.0.x installed on your starting distribution, copy the NSS library files by running:
cp -av /lib/libnss* $LFS/lib