source: BOOK/final-system/multilib/libcap-n32.xml@ 0b3451f

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 0b3451f 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-n32" role="wrap">
9 <?dbhtml filename="libcap-n32.html"?>
10
11 <title>Libcap-&libcap-version; N32 Libraries</title>
12
13 <indexterm zone="ch-system-libcap-n32">
14 <primary sortas="a-Libcap">Libcap</primary>
15 <secondary>N32</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 ${BUILDN32}"</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 lib=lib32 install
40chmod -v 755 /lib32/libcap.so.&libcap-version;
41ln -sfv ../../lib32/$(readlink /lib32/libcap.so) /usr/lib32/libcap.so
42rm -v /lib32/libcap.so
43mv -v /lib32/libcap.a /usr/lib32</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.