2001-04-15 05:47:45 +01:00
|
|
|
<sect1 id="ch05-oldnsslib">
|
|
|
|
<title>Copying old NSS library files</title>
|
|
|
|
|
2001-08-29 18:49:08 +01:00
|
|
|
<para>If your normal Linux system runs Glibc-2.0, you need to copy the NSS
|
2001-07-22 20:45:10 +01:00
|
|
|
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>
|
2001-04-15 05:47:45 +01:00
|
|
|
|
2001-07-22 20:45:10 +01:00
|
|
|
<para><screen><userinput>/lib/libc.so.6</userinput></screen></para>
|
2001-04-15 05:47:45 +01:00
|
|
|
|
2001-07-22 20:45:10 +01:00
|
|
|
<para>The first line will give you the release version. Following lines contain
|
2001-04-15 05:47:45 +01:00
|
|
|
interesting information. If you have Glibc-2.0.x installed on your starting
|
2001-07-22 20:45:10 +01:00
|
|
|
distribution, copy the NSS library files by running:</para>
|
2001-04-15 05:47:45 +01:00
|
|
|
|
2001-08-29 18:49:08 +01:00
|
|
|
<para><screen><userinput>cp -av /lib/libnss* $LFS/lib</userinput></screen></para>
|
2001-04-15 05:47:45 +01:00
|
|
|
|
|
|
|
</sect1>
|
|
|
|
|