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

sysvinit
Last change on this file since c1eab93 was b252915, checked in by William Harrington <kb0iic@…>, 8 years ago

Update Readline to 7.0 and add the two seds for a possible linking bug with ldconfig when reinstalling.

  • Property mode set to 100644
File size: 3.0 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
[b252915]32 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
33 href="../common/readline.xml"
34 xpointer="xpointer(//*[@os='s1'])"/>
35
36 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
37 href="../common/readline.xml"
38 xpointer="xpointer(//*[@os='s2'])"/>
39
[dabbced]40 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[001becd]41 href="readline.xml"
42 xpointer="xpointer(//*[@os='a'])"/>
[3f8be484]43
[001becd]44<screen os="b"><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
[b27081c4]45./configure \
46 --prefix=/usr \
47 --libdir=/lib64 \
[e89c4c9]48 --docdir=/usr/share/doc/readline-&readline-version;</userinput></screen>
[3f8be484]49
[dabbced]50 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]51 href="readline.xml"
[001becd]52 xpointer="xpointer(//*[@os='c'])"/>
[3f8be484]53
[dabbced]54 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[e47ec16]55 href="readline.xml"
[001becd]56 xpointer="xpointer(//*[@os='d'])"/>
[e47ec16]57
[dabbced]58 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]59 href="readline.xml"
[001becd]60 xpointer="xpointer(//*[@os='e'])"/>
[3f8be484]61
[dabbced]62 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]63 href="readline.xml"
[001becd]64 xpointer="xpointer(//*[@os='f'])"/>
[3f8be484]65
[dabbced]66 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]67 href="readline.xml"
[001becd]68 xpointer="xpointer(//*[@os='g'])"/>
[3f8be484]69
[dabbced]70 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[e0e40d3]71 href="readline.xml"
[001becd]72 xpointer="xpointer(//*[@os='h'])"/>
[e0e40d3]73
[c806e36]74<screen os="i"><userinput>mv -v /lib64/lib{readline,history}.a /usr/lib64</userinput></screen>
[3f8be484]75
[c806e36]76 <para os="j">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]77
[bd38dd3]78<screen os="k"><userinput>ln -svf ../../lib64/$(readlink /lib64/libreadline.so) /usr/lib64/libreadline.so
[78dd6d6]79ln -svf ../../lib64/$(readlink /lib64/libhistory.so) /usr/lib64/libhistory.so
80rm -v /lib64/lib{readline,history}.so</userinput></screen>
[3f8be484]81
82 </sect2>
83
[dabbced]84 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]85 href="../common/readline.xml"
86 xpointer="xpointer(id('contents-readline'))"/>
87
88</sect1>
Note: See TracBrowser for help on using the repository browser.