source: BOOK/final-system/multilib/readline-64bit.xml @ 78dd6d6

clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 78dd6d6 was 78dd6d6, checked in by William Harrington <kb0iic@…>, 10 years ago

Use readlink when creating symbolic links for the dynamic libraries and remove the need for readlin-version2 entity.

  • Property mode set to 100644
File size: 2.9 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[3f8be484]4  <!ENTITY % general-entities SYSTEM "../../general.ent">
5  %general-entities;
6]>
7
8<sect1 id="ch-system-readline" role="wrap">
9  <?dbhtml filename="readline-64bit.html"?>
10
11  <title>Readline-&readline-version; 64 Bit</title>
12
13  <indexterm zone="ch-system-readline">
14    <primary sortas="a-Readline">Readline</primary>
15  </indexterm>
16
[dabbced]17  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[566db8e]18  href="../common/readline.xml"
19  xpointer="xpointer(//*[@role='package'])"/>
[3f8be484]20
21  <sect2 role="installation">
22    <title>Installation of Readline</title>
23
[dabbced]24    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]25    href="readline.xml"
[001becd]26    xpointer="xpointer(//*[@os='p1'])"/>
27
[dabbced]28    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[001becd]29    href="readline.xml"
30    xpointer="xpointer(//*[@os='p2'])"/>
31
[dabbced]32    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[001becd]33    href="readline.xml"
34    xpointer="xpointer(//*[@os='a'])"/>
[3f8be484]35
[001becd]36<screen os="b"><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
[3f8be484]37   ./configure --prefix=/usr --libdir=/lib64</userinput></screen>
38
[dabbced]39    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]40    href="readline.xml"
[001becd]41    xpointer="xpointer(//*[@os='c'])"/>
[3f8be484]42
[dabbced]43    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[e47ec16]44    href="readline.xml"
[001becd]45    xpointer="xpointer(//*[@os='d'])"/>
[e47ec16]46
[dabbced]47    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]48    href="readline.xml"
[001becd]49    xpointer="xpointer(//*[@os='e'])"/>
[3f8be484]50
[dabbced]51    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]52    href="readline.xml"
[001becd]53    xpointer="xpointer(//*[@os='f'])"/>
[3f8be484]54
[dabbced]55    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]56    href="readline.xml"
[001becd]57    xpointer="xpointer(//*[@os='g'])"/>
[3f8be484]58
[dabbced]59    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[e0e40d3]60    href="readline.xml"
[001becd]61    xpointer="xpointer(//*[@os='h'])"/>
[e0e40d3]62
[dabbced]63    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[4f743c5]64    href="readline.xml"
65    xpointer="xpointer(//*[@os='i'])"/>
66
[dabbced]67    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[4f743c5]68    href="readline.xml"
69    xpointer="xpointer(//*[@os='j'])"/>
70
71<screen os="k"><userinput>mv -v /lib64/lib{readline,history}.a /usr/lib64</userinput></screen>
[3f8be484]72
[78dd6d6]73    <para os="l">Next, relink the dynamic libraries into <filename class="directory">/usr/lib64</filename> and remove the <filename class="extension">.so</filename> files in <filename class="directory">/lib64</filename>.</para>
[3f8be484]74
[78dd6d6]75<screen os="m"><userinput>
76ln -svf ../../lib64/$(readlink /lib64/libreadline.so) /usr/lib64/libreadline.so
77ln -svf ../../lib64/$(readlink /lib64/libhistory.so) /usr/lib64/libhistory.so
78rm -v /lib64/lib{readline,history}.so</userinput></screen>
[3f8be484]79
80  </sect2>
81
[dabbced]82  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]83  href="../common/readline.xml"
84  xpointer="xpointer(id('contents-readline'))"/>
85
86</sect1>
Note: See TracBrowser for help on using the repository browser.