[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" role="wrap">
|
---|
| 9 | <?dbhtml filename="zlib-64bit.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Zlib-&zlib-version; 64 Bit</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-system-zlib">
|
---|
| 14 | <primary sortas="a-Zlib">Zlib</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
[a1a7bae] | 17 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 18 | href="../common/zlib.xml"
|
---|
| 19 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
[bf8c11f] | 20 |
|
---|
| 21 | <sect2 role="installation">
|
---|
| 22 | <title>Installation of Zlib</title>
|
---|
| 23 |
|
---|
| 24 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 25 | href="zlib.xml"
|
---|
[6732e02] | 26 | xpointer="xpointer(//*[@os='p1'])"/>
|
---|
| 27 |
|
---|
| 28 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 29 | href="zlib.xml"
|
---|
| 30 | xpointer="xpointer(//*[@os='p2'])"/>
|
---|
[bf8c11f] | 31 |
|
---|
| 32 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 33 | href="zlib.xml"
|
---|
[6732e02] | 34 | xpointer="xpointer(//*[@os='a'])"/>
|
---|
[bf8c11f] | 35 |
|
---|
[e6423a01] | 36 | <screen os="c"><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr \
|
---|
[6732e02] | 37 | --shared --libdir=/usr/lib64</userinput></screen>
|
---|
[bf8c11f] | 38 |
|
---|
| 39 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 40 | href="zlib.xml"
|
---|
| 41 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
| 42 |
|
---|
| 43 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 44 | href="zlib.xml"
|
---|
| 45 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
| 46 |
|
---|
| 47 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 48 | href="zlib.xml"
|
---|
| 49 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
| 50 |
|
---|
| 51 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 52 | href="zlib.xml"
|
---|
| 53 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 54 |
|
---|
[6732e02] | 55 | <para os="h">The previous command installed a <filename
|
---|
[bf8c11f] | 56 | class="extension">.so</filename> file in <filename
|
---|
[6732e02] | 57 | class="directory">/usr/lib64</filename>. We will remove itinto
|
---|
| 58 | <filename class="directory">/lib64</filename> and then relink it
|
---|
| 59 | to <filename class="directory">/usr/lib64</filename>:</para>
|
---|
[bf8c11f] | 60 |
|
---|
[dcf1718] | 61 | <screen os="i"><userinput>mv /usr/lib64/libz.so.* /lib64
|
---|
[6732e02] | 62 | ln -sf ../../lib64/libz.so.1 /usr/lib64/libz.so</userinput></screen>
|
---|
[bf8c11f] | 63 |
|
---|
| 64 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 65 | href="zlib.xml"
|
---|
[6732e02] | 66 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
[bf8c11f] | 67 |
|
---|
[6732e02] | 68 | <screen os="k"><userinput>chmod 644 /usr/lib64/libz.a</userinput></screen>
|
---|
[bf8c11f] | 69 |
|
---|
| 70 | </sect2>
|
---|
| 71 |
|
---|
| 72 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 73 | href="../common/zlib.xml"
|
---|
| 74 | xpointer="xpointer(id('contents-zlib'))"/>
|
---|
| 75 |
|
---|
| 76 | </sect1>
|
---|