From 2b81132af812059718db183c9f98abbfd53a2fda Mon Sep 17 00:00:00 2001 From: Simon Perreault Date: Sun, 15 Apr 2001 04:47:45 +0000 Subject: Put back the NSS instructions. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@516 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/oldnsslib.xml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 chapter05/oldnsslib.xml (limited to 'chapter05/oldnsslib.xml') diff --git a/chapter05/oldnsslib.xml b/chapter05/oldnsslib.xml new file mode 100644 index 000000000..b56a97906 --- /dev/null +++ b/chapter05/oldnsslib.xml @@ -0,0 +1,31 @@ + +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 simply executing the library, like this: + + +
+ + /lib/libc.so.6 + +
+ + +The first line will give you the release version. Following lines contain +interesting information. 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 + +
+ +
+ -- cgit v1.2.3-54-g00ecf