| [bf8c11f] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?> | 
|---|
|  | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" | 
|---|
|  | 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ | 
|---|
|  | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent"> | 
|---|
|  | 5 | %general-entities; | 
|---|
|  | 6 | ]> | 
|---|
|  | 7 |  | 
|---|
|  | 8 | <sect1 id="ch-system-zlib-n32" role="wrap"> | 
|---|
|  | 9 | <?dbhtml filename="zlib-n32.html"?> | 
|---|
|  | 10 |  | 
|---|
|  | 11 | <title>Zlib-&zlib-version; N32 Libraries</title> | 
|---|
|  | 12 |  | 
|---|
|  | 13 | <indexterm zone="ch-system-zlib-n32"> | 
|---|
|  | 14 | <primary sortas="a-Zlib">Zlib</primary> | 
|---|
|  | 15 | <secondary>N32</secondary> | 
|---|
|  | 16 | </indexterm> | 
|---|
|  | 17 |  | 
|---|
| [a1a7bae] | 18 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
|  | 19 | href="../common/zlib.xml" | 
|---|
|  | 20 | xpointer="xpointer(//*[@role='package'])"/> | 
|---|
| [bf8c11f] | 21 |  | 
|---|
|  | 22 | <sect2 role="installation"> | 
|---|
|  | 23 | <title>Installation of Zlib</title> | 
|---|
|  | 24 |  | 
|---|
|  | 25 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
|  | 26 | href="zlib.xml" | 
|---|
|  | 27 | xpointer="xpointer(//*[@os='a'])"/> | 
|---|
|  | 28 |  | 
|---|
|  | 29 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
|  | 30 | href="zlib.xml" | 
|---|
|  | 31 | xpointer="xpointer(//*[@os='b'])"/> | 
|---|
|  | 32 |  | 
|---|
| [e6423a01] | 33 | <screen os="c"><userinput>CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr \ | 
|---|
| [bf8c11f] | 34 | --shared --libdir=/lib32</userinput></screen> | 
|---|
|  | 35 |  | 
|---|
|  | 36 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
|  | 37 | href="zlib.xml" | 
|---|
|  | 38 | xpointer="xpointer(//*[@os='d'])"/> | 
|---|
|  | 39 |  | 
|---|
|  | 40 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
|  | 41 | href="zlib.xml" | 
|---|
|  | 42 | xpointer="xpointer(//*[@os='e'])"/> | 
|---|
|  | 43 |  | 
|---|
|  | 44 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
|  | 45 | href="zlib.xml" | 
|---|
|  | 46 | xpointer="xpointer(//*[@os='f'])"/> | 
|---|
|  | 47 |  | 
|---|
|  | 48 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
|  | 49 | href="zlib.xml" | 
|---|
|  | 50 | xpointer="xpointer(//*[@os='g'])"/> | 
|---|
|  | 51 |  | 
|---|
| [e6423a01] | 52 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
|  | 53 | href="zlib.xml" | 
|---|
|  | 54 | xpointer="xpointer(//*[@os='h'])"/> | 
|---|
|  | 55 |  | 
|---|
|  | 56 | <para os="i">The previous command installed a <filename | 
|---|
| [bf8c11f] | 57 | class="extension">.so</filename> file in <filename | 
|---|
|  | 58 | class="directory">/lib32</filename>. We will remove it and relink it into | 
|---|
|  | 59 | <filename class="directory">/usr/lib32</filename>:</para> | 
|---|
|  | 60 |  | 
|---|
| [e6423a01] | 61 | <screen os="j"><userinput>rm /lib32/libz.so | 
|---|
| [bf8c11f] | 62 | ln -sf ../../lib32/libz.so.&zlib-version; /usr/lib32/libz.so</userinput></screen> | 
|---|
|  | 63 |  | 
|---|
|  | 64 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
|  | 65 | href="zlib.xml" | 
|---|
| [e6423a01] | 66 | xpointer="xpointer(//*[@os='k'])"/> | 
|---|
| [bf8c11f] | 67 |  | 
|---|
| [e6423a01] | 68 | <screen os="l"><userinput>make clean | 
|---|
| [bf8c11f] | 69 | CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure \ | 
|---|
|  | 70 | --prefix=/usr --libdir=/usr/lib32 | 
|---|
|  | 71 | make</userinput></screen> | 
|---|
|  | 72 |  | 
|---|
|  | 73 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
|  | 74 | href="zlib.xml" | 
|---|
| [e6423a01] | 75 | xpointer="xpointer(//*[@os='m'])"/> | 
|---|
| [bf8c11f] | 76 |  | 
|---|
|  | 77 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
|  | 78 | href="zlib.xml" | 
|---|
| [e6423a01] | 79 | xpointer="xpointer(//*[@os='n'])"/> | 
|---|
| [bf8c11f] | 80 |  | 
|---|
|  | 81 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
|  | 82 | href="zlib.xml" | 
|---|
| [e6423a01] | 83 | xpointer="xpointer(//*[@os='o'])"/> | 
|---|
| [bf8c11f] | 84 |  | 
|---|
|  | 85 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
|  | 86 | href="zlib.xml" | 
|---|
| [e6423a01] | 87 | xpointer="xpointer(//*[@os='p'])"/> | 
|---|
| [bf8c11f] | 88 |  | 
|---|
| [e6423a01] | 89 | <screen os="q"><userinput>chmod 644 /usr/lib32/libz.a</userinput></screen> | 
|---|
| [bf8c11f] | 90 |  | 
|---|
|  | 91 | </sect2> | 
|---|
|  | 92 |  | 
|---|
|  | 93 | <sect2 role="content"> | 
|---|
|  | 94 | <title/> | 
|---|
|  | 95 |  | 
|---|
|  | 96 | <para>Details on this package are located in <xref | 
|---|
|  | 97 | linkend="contents-zlib" role="."/></para> | 
|---|
|  | 98 |  | 
|---|
|  | 99 | </sect2> | 
|---|
|  | 100 |  | 
|---|
|  | 101 | </sect1> | 
|---|