source: BOOK/final-system/multilib/libcap-64bit.xml@ dda2263

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

Use readlink for libcap and tidy library install amongst all installations.

  • Property mode set to 100644
File size: 1.5 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-libcap" role="wrap">
9 <?dbhtml filename="libcap-64bit.html"?>
10
11 <title>Libcap-&libcap-version; 64 Bit</title>
12
13 <indexterm zone="ch-system-libcap">
14 <primary sortas="a-Libcap">Libcap</primary>
15 </indexterm>
16
17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
18 href="../common/libcap.xml"
19 xpointer="xpointer(//*[@role='package'])"/>
20
21 <sect2 role="installation">
22 <title>Installation of Libcap</title>
23
24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
25 href="../common/libcap.xml"
26 xpointer="xpointer(//*[@os='a'])"/>
27
28<screen os="b"><userinput>make CC="gcc ${BUILD64}"</userinput></screen>
29
30 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
31 href="../common/libcap.xml"
32 xpointer="xpointer(//*[@os='c'])"/>
33
34 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
35 href="../common/libcap.xml"
36 xpointer="xpointer(//*[@os='d'])"/>
37
38<screen os="e"><userinput>make lib=lib64 install
39chmod -v 755 /lib64/libcap.so.&libcap-version;
40ln -sfv ../../lib64/$(readlink /lib64/libcap.so) /usr/lib64/libcap.so
41rm -v /lib64/libcap.so
42mv -v /lib64/libcap.a /usr/lib64</userinput></screen>
43
44 </sect2>
45
46 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
47 href="../common/libcap.xml"
48 xpointer="xpointer(id('contents-libcap'))"/>
49
50</sect1>
Note: See TracBrowser for help on using the repository browser.