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

Last change on this file since 9090bd7 was a1a7bae, checked in by Jim Gifford <clfs@…>, 19 years ago

r667@server (orig r665): manuel | 2005-11-08 15:10:09 -0800
Removing SBUs and DUs. Chapter final-system, round 5.

  • Property mode set to 100644
File size: 3.0 KB
Line 
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
19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
20 href="../common/zlib.xml"
21 xpointer="xpointer(//*[@role='package'])"/>
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
63ln -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
70CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure \
71 --prefix=/usr --libdir=/usr/lib64
72make</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>
Note: See TracBrowser for help on using the repository browser.