source: BOOK/final-system/multilib/zlib-64bit.xml@ 19ffdbe

clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 19ffdbe was b6831b6, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Update the LDFLAGS in the final-system between the installation
of EGLIBC and the installation of GCC. This should fix build errors
in a few odd situations, but it is also correct now. Before /usr/lib*
was not being set in rpath-link, just /lib*.

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