2001-04-15 05:47:45 +01:00
|
|
|
<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>
|
|
|
|
|
2001-07-06 16:25:48 +01:00
|
|
|
<para>
|
|
|
|
<screen>
|
|
|
|
<userinput>/lib/libc.so.6</userinput>
|
|
|
|
</screen>
|
|
|
|
</para>
|
2001-04-15 05:47:45 +01:00
|
|
|
|
|
|
|
<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>
|
|
|
|
|
2001-07-06 16:25:48 +01:00
|
|
|
<para>
|
|
|
|
<screen>
|
|
|
|
<userinput>cp -av /lib/libnss* $LFS/lib</userinput>
|
|
|
|
</screen>
|
|
|
|
</para>
|
2001-04-15 05:47:45 +01:00
|
|
|
|
|
|
|
</sect1>
|
|
|
|
|