source: chapter06/zlib.xml@ 338c63f

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 338c63f was a326b1d7, checked in by Bruce Dubbs <bdubbs@…>, 10 years ago

Fix kmod, procps-ng, zlib, readline, ncurses,
and xz methods of establishing correct symbolic links
for libraries.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10391 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 2.7 KB
RevLine 
[673b0d8]1<?xml version="1.0" encoding="ISO-8859-1"?>
[b06ca36]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[673b0d8]4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
[ddd5542]7
[81fd230]8<sect1 id="ch-system-zlib" role="wrap">
[ddd5542]9 <?dbhtml filename="zlib.html"?>
10
[e747759]11 <sect1info condition="script">
12 <productname>zlib</productname>
13 <productnumber>&zlib-version;</productnumber>
14 <address>&zlib-url;</address>
15 </sect1info>
16
[ddd5542]17 <title>Zlib-&zlib-version;</title>
18
19 <indexterm zone="ch-system-zlib">
20 <primary sortas="a-Zlib">Zlib</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
[24380c7]25
[ddd5542]26 <para>The Zlib package contains compression and decompression routines used by
27 some programs.</para>
[673b0d8]28
[ddd5542]29 <segmentedlist>
30 <segtitle>&buildtime;</segtitle>
31 <segtitle>&diskspace;</segtitle>
[5888299]32
[ddd5542]33 <seglistitem>
[e4a5635]34 <seg>&zlib-ch6-sbu;</seg>
35 <seg>&zlib-ch6-du;</seg>
[ddd5542]36 </seglistitem>
37 </segmentedlist>
[673b0d8]38
[ddd5542]39 </sect2>
[81fd230]40
[ddd5542]41 <sect2 role="installation">
42 <title>Installation of Zlib</title>
43
[85d68de]44 <para>Prepare Zlib for compilation:</para>
[4a8b9b3]45
[e3f07935]46<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
[4248b0e]47
[ddd5542]48 <para>Compile the package:</para>
[73aedd1d]49
[0445a3d]50<screen><userinput remap="make">make</userinput></screen>
[73aedd1d]51
[0445a3d]52 <para>To test the results, issue:</para>
53
54<screen><userinput remap="test">make check</userinput></screen>
[dfddb12]55
[85d68de]56 <para>Install the package:</para>
[ea2dfe7]57
58<screen><userinput remap="install">make install</userinput></screen>
59
[85d68de]60 <para>The shared library needs to be moved to
61 <filename class="directory">/lib</filename>, and as a result the
62 <filename class="extension">.so</filename> file in
63 <filename class="directory">/usr/lib</filename> will need to be recreated:</para>
[ea2dfe7]64
[c7a2699]65<screen><userinput remap="install">mv -v /usr/lib/libz.so.* /lib
[a326b1d7]66ln -sfv ../../lib/$(readlink /usr/lib/libz.so) /usr/lib/libz.so</userinput></screen>
[ea2dfe7]67
[ddd5542]68 </sect2>
[24380c7]69
[ddd5542]70 <sect2 id="contents-zlib" role="content">
71 <title>Contents of Zlib</title>
[5888299]72
[ddd5542]73 <segmentedlist>
74 <segtitle>Installed libraries</segtitle>
[673b0d8]75
[ddd5542]76 <seglistitem>
[0090db5]77 <seg>libz.{a,so}</seg>
[ddd5542]78 </seglistitem>
79 </segmentedlist>
[81fd230]80
[ddd5542]81 <variablelist>
82 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
83 <?dbfo list-presentation="list"?>
84 <?dbhtml list-presentation="table"?>
[81fd230]85
[ddd5542]86 <varlistentry id="libz">
87 <term><filename class="libraryfile">libz</filename></term>
88 <listitem>
89 <para>Contains compression and decompression functions used by
90 some programs</para>
91 <indexterm zone="ch-system-zlib libz">
92 <primary sortas="c-libz">libz</primary>
93 </indexterm>
94 </listitem>
95 </varlistentry>
[673b0d8]96
[ddd5542]97 </variablelist>
[673b0d8]98
[ddd5542]99 </sect2>
[81fd230]100
[ddd5542]101</sect1>
Note: See TracBrowser for help on using the repository browser.