source: BOOK/final-system/multilib/attr-64bit.xml@ c8a83d8

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since c8a83d8 was d0123a37, checked in by William Harrington <kb0iic@…>, 11 years ago

Tidy up attr multilib library install and use readlink for attr in all section dynmic library linking.

  • Property mode set to 100644
File size: 2.2 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-attr" role="wrap">
9 <?dbhtml filename="attr-64bit.html"?>
10
11 <title>Attr-&attr-version; 64 Bit</title>
12
13 <indexterm zone="ch-system-attr">
14 <primary sortas="a-Attr">Attr</primary>
15 </indexterm>
16
17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
18 href="../common/attr.xml"
19 xpointer="xpointer(//*[@role='package'])"/>
20
21 <sect2 role="installation">
22 <title>Installation of Attr</title>
23
24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
25 href="../common/attr.xml"
26 xpointer="xpointer(//*[@os='a'])"/>
27
28<screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure \
29 --prefix=/usr --libdir=/lib64 \
30 --libexecdir=/usr/lib64</userinput></screen>
31
32 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
33 href="../common/attr.xml"
34 xpointer="xpointer(//*[@os='c'])"/>
35
36 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
37 href="../common/attr.xml"
38 xpointer="xpointer(//*[@os='d'])"/>
39
40 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
41 href="../common/attr.xml"
42 xpointer="xpointer(//*[@os='e'])"/>
43
44 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
45 href="../common/attr.xml"
46 xpointer="xpointer(//*[@os='f'])"/>
47
48 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
49 href="../common/attr.xml"
50 xpointer="xpointer(//*[@os='g'])"/>
51
52 <para os="h">Recreate the symlink in <filename class="directory">/usr/lib64</filename> and remove the shared link from <filename class="directory">/lib64</filename>:</para>
53
54<screen os="i"><userinput>
55ln -sfv ../../lib64/$(readlink /lib64/libattr.so) /usr/lib64/libattr.so
56rm -v /lib64/libattr.so</userinput></screen>
57
58 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
59 href="../common/attr.xml"
60 xpointer="xpointer(//*[@os='j'])"/>
61
62<screen os="k"><userinput>chmod 755 -v /lib64/libattr.so.1.1.0</userinput></screen>
63
64 </sect2>
65
66 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
67 href="../common/attr.xml"
68 xpointer="xpointer(id('contents-attr'))"/>
69
70</sect1>
Note: See TracBrowser for help on using the repository browser.