[3f8be484] | 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 | <!ENTITY % patches-entities SYSTEM "../../patches.ent">
|
---|
| 6 | %general-entities;
|
---|
| 7 | %patches-entities;
|
---|
| 8 | ]>
|
---|
| 9 |
|
---|
| 10 | <sect1 id="ch-system-zlib" role="wrap">
|
---|
| 11 | <?dbhtml filename="zlib-64bit.html"?>
|
---|
| 12 |
|
---|
| 13 | <title>Zlib-&zlib-version; 64 Bit</title>
|
---|
| 14 |
|
---|
| 15 | <indexterm zone="ch-system-zlib">
|
---|
| 16 | <primary sortas="a-Zlib">Zlib</primary>
|
---|
| 17 | </indexterm>
|
---|
| 18 |
|
---|
[566db8e] | 19 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 20 | href="../common/zlib.xml"
|
---|
| 21 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
[3f8be484] | 22 |
|
---|
| 23 | <sect2 role="installation">
|
---|
| 24 | <title>Installation of Zlib</title>
|
---|
| 25 |
|
---|
| 26 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 27 | href="zlib.xml"
|
---|
| 28 | xpointer="xpointer(//*[@os='a'])"/>
|
---|
| 29 |
|
---|
| 30 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 31 | href="zlib.xml"
|
---|
| 32 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
| 33 |
|
---|
| 34 | <screen><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr \
|
---|
| 35 | --shared --libdir=/lib64</userinput></screen>
|
---|
| 36 |
|
---|
| 37 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 38 | href="zlib.xml"
|
---|
| 39 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
| 40 |
|
---|
| 41 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 42 | href="zlib.xml"
|
---|
| 43 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
| 44 |
|
---|
| 45 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 46 | href="zlib.xml"
|
---|
| 47 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
| 48 |
|
---|
| 49 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 50 | href="zlib.xml"
|
---|
| 51 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
| 52 |
|
---|
| 53 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 54 | href="zlib.xml"
|
---|
| 55 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 56 |
|
---|
| 57 | <para>The previous command installed a <filename
|
---|
| 58 | class="extension">.so</filename> file in <filename
|
---|
| 59 | class="directory">/lib64</filename>. We will remove it and relink it into
|
---|
| 60 | <filename class="directory">/usr/lib64</filename>:</para>
|
---|
| 61 |
|
---|
| 62 | <screen><userinput>rm /lib64/libz.so
|
---|
| 63 | ln -sf ../../lib64/libz.so.&zlib-version; /usr/lib64/libz.so</userinput></screen>
|
---|
| 64 |
|
---|
| 65 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 66 | href="zlib.xml"
|
---|
| 67 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
| 68 |
|
---|
| 69 | <screen><userinput>make clean
|
---|
| 70 | CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure \
|
---|
| 71 | --prefix=/usr --libdir=/usr/lib64
|
---|
| 72 | make</userinput></screen>
|
---|
| 73 |
|
---|
| 74 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 75 | href="zlib.xml"
|
---|
| 76 | xpointer="xpointer(//*[@os='k'])"/>
|
---|
| 77 |
|
---|
| 78 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 79 | href="zlib.xml"
|
---|
| 80 | xpointer="xpointer(//*[@os='l'])"/>
|
---|
| 81 |
|
---|
| 82 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 83 | href="zlib.xml"
|
---|
| 84 | xpointer="xpointer(//*[@os='m'])"/>
|
---|
| 85 |
|
---|
| 86 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 87 | href="zlib.xml"
|
---|
| 88 | xpointer="xpointer(//*[@os='n'])"/>
|
---|
| 89 |
|
---|
| 90 | <screen><userinput>chmod 644 /usr/lib64/libz.a</userinput></screen>
|
---|
| 91 |
|
---|
| 92 | </sect2>
|
---|
| 93 |
|
---|
| 94 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 95 | href="../common/zlib.xml"
|
---|
| 96 | xpointer="xpointer(id('contents-zlib'))"/>
|
---|
| 97 |
|
---|
| 98 | </sect1>
|
---|