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

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 0b3451f 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
RevLine 
[2eb6b1d]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">
[5bac495]9 <?dbhtml filename="attr-64bit.html"?>
[2eb6b1d]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
[4317f44]17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[2eb6b1d]18 href="../common/attr.xml"
19 xpointer="xpointer(//*[@role='package'])"/>
20
21 <sect2 role="installation">
22 <title>Installation of Attr</title>
23
[4317f44]24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[2eb6b1d]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
[4317f44]32 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[2eb6b1d]33 href="../common/attr.xml"
34 xpointer="xpointer(//*[@os='c'])"/>
35
[4317f44]36 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[2eb6b1d]37 href="../common/attr.xml"
38 xpointer="xpointer(//*[@os='d'])"/>
39
[4317f44]40 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[2eb6b1d]41 href="../common/attr.xml"
42 xpointer="xpointer(//*[@os='e'])"/>
43
[4317f44]44 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[2eb6b1d]45 href="../common/attr.xml"
46 xpointer="xpointer(//*[@os='f'])"/>
47
[4317f44]48 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[2eb6b1d]49 href="../common/attr.xml"
50 xpointer="xpointer(//*[@os='g'])"/>
51
[d0123a37]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>
[2eb6b1d]53
[d0123a37]54<screen os="i"><userinput>
55ln -sfv ../../lib64/$(readlink /lib64/libattr.so) /usr/lib64/libattr.so
56rm -v /lib64/libattr.so</userinput></screen>
[2eb6b1d]57
[4317f44]58 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[2eb6b1d]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
[4317f44]66 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[2eb6b1d]67 href="../common/attr.xml"
68 xpointer="xpointer(id('contents-attr'))"/>
69
70</sect1>
Note: See TracBrowser for help on using the repository browser.