source: BOOK/final-system/multilib/libcap.xml@ 4c803c7

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 4c803c7 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.6 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-32" role="wrap">
9 <?dbhtml filename="libcap.html"?>
10
11 <title>Libcap-&libcap-version; 32 Bit Libraries</title>
12
13 <indexterm zone="ch-system-libcap-32">
14 <primary sortas="a-Libcap">Libcap</primary>
15 <secondary>32 Bit</secondary>
16 </indexterm>
17
18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
19 href="../common/libcap.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
21
22 <sect2 role="installation">
23 <title>Installation of Libcap</title>
24
25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
26 href="../common/libcap.xml"
27 xpointer="xpointer(//*[@os='a'])"/>
28
29<screen os="b"><userinput>make CC="gcc ${BUILD32}"</userinput></screen>
30
31 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
32 href="../common/libcap.xml"
33 xpointer="xpointer(//*[@os='c'])"/>
34
35 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
36 href="../common/libcap.xml"
37 xpointer="xpointer(//*[@os='d'])"/>
38
39<screen os="e"><userinput>make RAISE_SETFCAP=no lib=lib install
40chmod -v 755 /lib/libcap.so.&libcap-version;
41ln -sfv ../../lib/$(readlink /lib/libcap.so) /usr/lib/libcap.so
42rm -v /lib/libcap.so
43mv -v /lib/libcap.a /usr/lib</userinput></screen>
44
45 </sect2>
46
47 <sect2 role="content">
48 <title/>
49
50 <para>Details on this package are located in <xref
51 linkend="contents-libcap" role="."/></para>
52
53 </sect2>
54
55</sect1>
Note: See TracBrowser for help on using the repository browser.