oldnsslib.xml 884 B

1234567891011121314151617181920
  1. <sect1 id="ch05-oldnsslib">
  2. <title>Copying old NSS library files</title>
  3. <?dbhtml filename="oldnsslib.html" dir="chapter05"?>
  4. <para>If your normal Linux system runs Glibc-2.0, you need to copy the NSS
  5. library files to the LFS partition. Certain statically linked programs still
  6. depend on the NSS library, especially programs that need to lookup
  7. usernames, userid's and groupid's. You can check which C library version your
  8. normal Linux system uses by simply executing the library, like this:</para>
  9. <para><screen><userinput>/lib/libc.so.6</userinput></screen></para>
  10. <para>The first line will give you the release version. Following lines contain
  11. interesting information. If you have Glibc-2.0.x installed on your starting
  12. distribution, copy the NSS library files by running:</para>
  13. <para><screen><userinput>cp -av /lib/libnss* $LFS/lib</userinput></screen></para>
  14. </sect1>