diff options
Diffstat (limited to 'chapter05/oldnsslib.xml')
-rw-r--r-- | chapter05/oldnsslib.xml | 31 |
1 files changed, 31 insertions, 0 deletions
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 @@ +<sect1 id="ch05-oldnsslib"> +<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 simply executing the library, like this: +</para> + +<blockquote><literallayout> + + <userinput>/lib/libc.so.6</userinput> + +</literallayout></blockquote> + +<para> +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: +</para> + +<blockquote><literallayout> + + <userinput>cp -av /lib/libnss* $LFS/lib</userinput> + +</literallayout></blockquote> + +</sect1> + |