<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
  <!ENTITY % general-entities SYSTEM "../../general.ent">
  %general-entities;
]>

<sect1 id="ch-system-shadow-n32" role="wrap">
  <?dbhtml filename="shadow-n32.html"?>

  <title>Shadow-&shadow-version; N32 Libraries</title>

  <indexterm zone="ch-system-shadow-n32">
    <primary sortas="a-Shadow">Shadow</primary>
    <secondary>N32</secondary>
  </indexterm>

  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  href="../common/shadow.xml"
  xpointer="xpointer(//*[@role='package'])"/>

  <sect2 role="installation">
    <title>Installation of Shadow</title>

    <note os="a">
      <para>If you would like to enforce the use of strong passwords,
      refer to <ulink url="&blfs-root;view/svn/postlfs/cracklib.html"/>
      for installing Cracklib prior to building Shadow. Then add
      <parameter>--with-libcrack</parameter> to the <command>configure</command>
      command below.</para>

      <para>You will also need to use the follow sed after the configuration command
      to make sure the correct library is linked.</para>

      <screen role="nodump"><userinput>sed -i libtool \
	 -e 's@\(^sys_lib_search_path_spec=\).*@\1"/lib32 /usr/lib32 /usr/local/lib32"@g' \
	 -e 's@\(^sys_lib_dlsearch_path_spec=\).*@\1"/lib32 /usr/lib32 /usr/local/lib32"@g'</userinput></screen>
    </note>

    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    href="shadow.xml"
    xpointer="xpointer(//*[@os='b'])"/>

<screen os="c"><userinput>CC="gcc ${BUILDN32}" ./configure --libdir=/lib32 \
   --enable-shared --without-libpam --without-audit --without-selinux</userinput></screen>

    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    href="shadow.xml"
    xpointer="xpointer(//*[@os='d'])"/>

    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    href="shadow.xml"
    xpointer="xpointer(//*[@os='e'])"/>

    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    href="shadow.xml"
    xpointer="xpointer(//*[@os='f'])"/>

    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    href="shadow.xml"
    xpointer="xpointer(//*[@os='g'])"/>

    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    href="shadow.xml"
    xpointer="xpointer(//*[@os='h'])"/>

    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    href="shadow.xml"
    xpointer="xpointer(//*[@os='i'])"/>

    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    href="shadow.xml"
    xpointer="xpointer(//*[@os='j'])"/>

    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    href="shadow.xml"
    xpointer="xpointer(//*[@os='k'])"/>

    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    href="shadow.xml"
    xpointer="xpointer(//*[@os='l'])"/>

    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    href="shadow.xml"
    xpointer="xpointer(//*[@os='u'])"/>

    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    href="shadow.xml"
    xpointer="xpointer(//*[@os='v'])"/>

    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    href="shadow.xml"
    xpointer="xpointer(//*[@os='w'])"/>

<screen os="x"><userinput>mv -v /lib32/libshadow.*a /usr/lib32
rm -v /lib32/libshadow.so
ln -svf ../../lib32/libshadow.so.0 /usr/lib32/libshadow.so</userinput></screen>

  </sect2>

  <sect2 role="content">
    <title/>

    <para>Details on this package are located in <xref
    linkend="contents-shadow" role="."/></para>

  </sect2>

</sect1>
