source: final-system/multilib/zlib-64bit.xml@ da95ad7

Last change on this file since da95ad7 was 2659c74, checked in by Jim Gifford <clfs@…>, 19 years ago

r677@server (orig r675): manuel | 2005-11-10 03:13:57 -0800
Including patches.ent from general.ent

  • Property mode set to 100644
File size: 2.9 KB
RevLine 
[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"
26 xpointer="xpointer(//*[@os='a'])"/>
27
28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
29 href="zlib.xml"
30 xpointer="xpointer(//*[@os='b'])"/>
31
32<screen><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr \
33 --shared --libdir=/lib64</userinput></screen>
34
35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
36 href="zlib.xml"
37 xpointer="xpointer(//*[@os='c'])"/>
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
55 <para>The previous command installed a <filename
56 class="extension">.so</filename> file in <filename
57 class="directory">/lib64</filename>. We will remove it and relink it into
58 <filename class="directory">/usr/lib64</filename>:</para>
59
60<screen><userinput>rm /lib64/libz.so
61ln -sf ../../lib64/libz.so.&zlib-version; /usr/lib64/libz.so</userinput></screen>
62
63 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
64 href="zlib.xml"
65 xpointer="xpointer(//*[@os='j'])"/>
66
67<screen><userinput>make clean
68CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure \
69 --prefix=/usr --libdir=/usr/lib64
70make</userinput></screen>
71
72 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
73 href="zlib.xml"
74 xpointer="xpointer(//*[@os='k'])"/>
75
76 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
77 href="zlib.xml"
78 xpointer="xpointer(//*[@os='l'])"/>
79
80 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
81 href="zlib.xml"
82 xpointer="xpointer(//*[@os='m'])"/>
83
84 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
85 href="zlib.xml"
86 xpointer="xpointer(//*[@os='n'])"/>
87
88<screen><userinput>chmod 644 /usr/lib64/libz.a</userinput></screen>
89
90 </sect2>
91
92 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
93 href="../common/zlib.xml"
94 xpointer="xpointer(id('contents-zlib'))"/>
95
96</sect1>
Note: See TracBrowser for help on using the repository browser.