source: BOOK/final-system/multilib/zlib-n32.xml @ e193ac8

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since e193ac8 was e193ac8, checked in by kb0iic <kb0iic@…>, 14 years ago

Fix book render from zlib 1.2.5 update.

  • Property mode set to 100644
File size: 2.4 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-n32" role="wrap">
9  <?dbhtml filename="zlib-n32.html"?>
10
11  <title>Zlib-&zlib-version; N32 Libraries</title>
12
13  <indexterm zone="ch-system-zlib-n32">
14    <primary sortas="a-Zlib">Zlib</primary>
15    <secondary>N32</secondary>
16  </indexterm>
17
18  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
19  href="../common/zlib.xml"
20  xpointer="xpointer(//*[@role='package'])"/>
21
22  <sect2 role="installation">
23    <title>Installation of Zlib</title>
24
25    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
26    href="zlib.xml"
27    xpointer="xpointer(//*[@os='a'])"/>
28
29<screen os="b"><userinput>CC="gcc -isystem /usr/include ${BUILDN32}" \
30    CXX="g++ -isystem /usr/include ${BUILDN32}" \
31    LDFLAGS="-Wl,-rpath-link,/lib32 ${BUILDN32}" \
32   ./configure --prefix=/usr --libdir=/usr/lib32</userinput></screen>
33
34    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
35    href="zlib.xml"
36    xpointer="xpointer(//*[@os='c'])"/>
37
38    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
39    href="zlib.xml"
40    xpointer="xpointer(//*[@os='d'])"/>
41
42    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
43    href="zlib.xml"
44    xpointer="xpointer(//*[@os='e'])"/>
45
46    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
47    href="zlib.xml"
48    xpointer="xpointer(//*[@os='f'])"/>
49
50    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
51    href="zlib.xml"
52    xpointer="xpointer(//*[@os='g'])"/>
53
54    <para os="h">The previous command installed two <filename
55    class="extension">.so</filename> files into <filename
56    class="directory">/usr/lib32</filename>. We will remove itinto
57    <filename class="directory">/lib32</filename> and then relink it
58    to <filename class="directory">/usr/lib32</filename>:</para>
59
60<screen os="i"><userinput>mv -v /usr/lib32/libz.so.* /lib32
61ln -svf ../../lib32/libz.so.1 /usr/lib32/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 os="k"><userinput>chmod -v 644 /usr/lib32/libz.a</userinput></screen>
68
69  </sect2>
70
71  <sect2 role="content">
72    <title/>
73
74    <para>Details on this package are located in <xref
75    linkend="contents-zlib" role="."/></para>
76
77  </sect2>
78
79</sect1>
Note: See TracBrowser for help on using the repository browser.