diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-01-24 00:31:17 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-01-24 00:31:17 +0000 |
commit | 6370fa6cff0ec2a8ac8d50d1595ec9500f6631c9 (patch) | |
tree | b17c8cb0a839b76f4a7db0f771953caa11c3a04e /chapter05/glibc-nss.sgml | |
parent | 5c930fe6eb43d23cfa0de2451d9a905a8505f981 (diff) |
Initial commit - LFS 2.4.4 files
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@14 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/glibc-nss.sgml')
-rw-r--r-- | chapter05/glibc-nss.sgml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/chapter05/glibc-nss.sgml b/chapter05/glibc-nss.sgml new file mode 100644 index 000000000..a281e60c9 --- /dev/null +++ b/chapter05/glibc-nss.sgml @@ -0,0 +1,38 @@ +<sect2> +<title>Copying old NSS library files</title> + +<para> +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: +</para> + +<blockquote><literallayout> + + <userinput>strings /lib/libc* | grep "release version"</userinput> + +</literallayout></blockquote> + +<para> +The output of that command should tell you something like this: +</para> + +<blockquote><literallayout> + GNU C Library stable release version 2.1.3, by Roland McGrath et al. +</literallayout></blockquote> + +<para> +If you have Glibc-2.0.x installed on your starting distribution, copy +the NSS library files by running: +</para> + +<blockquote><literallayout> + + <userinput>cp -av /lib/libnss* $LFS/lib</userinput> + +</literallayout></blockquote> + +</sect2> + |