source: BOOK/final-system/multilib/zlib-64bit.xml@ 480230bc

clfs-3.0.0-sysvinit sysvinit
Last change on this file since 480230bc was 68d3e1bb, checked in by Chris Staub <chris@…>, 10 years ago

Grammar fix

  • Property mode set to 100644
File size: 2.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/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
17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
18 href="../common/zlib.xml"
19 xpointer="xpointer(//*[@role='package'])"/>
20
21 <sect2 role="installation">
22 <title>Installation of Zlib</title>
23
24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
25 href="zlib.xml"
26 xpointer="xpointer(//*[@os='a'])"/>
27
28<screen os="b"><userinput>CC="gcc -isystem /usr/include ${BUILD64}" \
29CXX="g++ -isystem /usr/include ${BUILD64}" \
30LDFLAGS="-Wl,-rpath-link,/usr/lib64:/lib64 ${BUILD64}" \
31 ./configure --prefix=/usr --libdir=/usr/lib64</userinput></screen>
32
33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
34 href="zlib.xml"
35 xpointer="xpointer(//*[@os='c'])"/>
36
37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
38 href="zlib.xml"
39 xpointer="xpointer(//*[@os='d'])"/>
40
41 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
42 href="zlib.xml"
43 xpointer="xpointer(//*[@os='e'])"/>
44
45 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
46 href="zlib.xml"
47 xpointer="xpointer(//*[@os='e2'])"/>
48
49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
50 href="zlib.xml"
51 xpointer="xpointer(//*[@os='f'])"/>
52
53 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
54 href="zlib.xml"
55 xpointer="xpointer(//*[@os='g'])"/>
56
57 <para os="h">The previous command installed two <filename
58 class="extension">.so</filename> files into <filename
59 class="directory">/usr/lib64</filename>. We will move them into
60 <filename class="directory">/lib64</filename> and then recreate a link
61 in <filename class="directory">/usr/lib64</filename>:</para>
62
63<screen os="i"><userinput>mv -v /usr/lib64/libz.so.* /lib64
64ln -sfv ../../lib64/$(readlink /usr/lib64/libz.so) /usr/lib64/libz.so</userinput></screen>
65
66 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
67 href="../common/zlib.xml"
68 xpointer="xpointer(//*[@os='j'])"/>
69
70 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
71 href="../common/zlib.xml"
72 xpointer="xpointer(//*[@os='k'])"/>
73
74 </sect2>
75
76 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
77 href="../common/zlib.xml"
78 xpointer="xpointer(id('contents-zlib'))"/>
79
80</sect1>
Note: See TracBrowser for help on using the repository browser.