[cea2986] | 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 |
|
---|
[cbbd1e4] | 8 | <sect1 id="ch-system-glibc" role="wrap">
|
---|
| 9 | <?dbhtml filename="glibc.html"?>
|
---|
[cea2986] | 10 |
|
---|
[d785e9d] | 11 | <title>Glibc-&glibc-version;</title>
|
---|
[cea2986] | 12 |
|
---|
[cbbd1e4] | 13 | <indexterm zone="ch-system-glibc">
|
---|
[d785e9d] | 14 | <primary sortas="a-Glibc">Glibc</primary>
|
---|
[cea2986] | 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[cbbd1e4] | 18 | href="../common/glibc.xml"
|
---|
[cea2986] | 19 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
| 20 |
|
---|
| 21 | <sect2 role="installation">
|
---|
[d785e9d] | 22 | <title>Installation of Glibc</title>
|
---|
[cea2986] | 23 |
|
---|
| 24 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[cbbd1e4] | 25 | href="../common/glibc.xml"
|
---|
[cea2986] | 26 | xpointer="xpointer(//*[@os='z'])"/>
|
---|
| 27 |
|
---|
| 28 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[cbbd1e4] | 29 | href="../common/glibc.xml"
|
---|
[cea2986] | 30 | xpointer="xpointer(//*[@os='l1'])"/>
|
---|
| 31 |
|
---|
| 32 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[cbbd1e4] | 33 | href="../common/glibc.xml"
|
---|
[cea2986] | 34 | xpointer="xpointer(//*[@os='l2'])"/>
|
---|
| 35 |
|
---|
[d19bda6] | 36 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 37 | href="../x86_64-64/glibc.xml"
|
---|
| 38 | xpointer="xpointer(//*[@os='l3'])"/>
|
---|
| 39 |
|
---|
| 40 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 41 | href="../x86_64-64/glibc.xml"
|
---|
| 42 | xpointer="xpointer(//*[@os='l4'])"/>
|
---|
| 43 |
|
---|
[cea2986] | 44 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[cbbd1e4] | 45 | href="../common/glibc.xml"
|
---|
[cea2986] | 46 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
| 47 |
|
---|
| 48 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[cbbd1e4] | 49 | href="../common/glibc.xml"
|
---|
[cea2986] | 50 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
| 51 |
|
---|
| 52 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[cbbd1e4] | 53 | href="../common/glibc.xml"
|
---|
[cea2986] | 54 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
| 55 |
|
---|
| 56 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[cbbd1e4] | 57 | href="../x86_64-64/glibc.xml"
|
---|
[cea2986] | 58 | xpointer="xpointer(//*[@os='l5'])"/>
|
---|
| 59 |
|
---|
| 60 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[cbbd1e4] | 61 | href="../x86_64-64/glibc.xml"
|
---|
[cea2986] | 62 | xpointer="xpointer(//*[@os='l6'])"/>
|
---|
| 63 |
|
---|
| 64 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[cbbd1e4] | 65 | href="../common/glibc.xml"
|
---|
[cea2986] | 66 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 67 |
|
---|
[b27081c4] | 68 | <screen os="h"><userinput>CC="gcc ${BUILD64}" ../glibc-&glibc-version;/configure \
|
---|
| 69 | --prefix=/usr \
|
---|
| 70 | --enable-kernel=&glibc-kernel-version; \
|
---|
| 71 | --libexecdir=/usr/lib/glibc \
|
---|
| 72 | --libdir=/usr/lib \
|
---|
| 73 | --enable-obsolete-rpc \
|
---|
| 74 | --cache-file=config.cache</userinput></screen>
|
---|
[cea2986] | 75 |
|
---|
| 76 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[cbbd1e4] | 77 | href="../x86_64-64/glibc.xml"
|
---|
[cea2986] | 78 | xpointer="xpointer(//*[@os='i'])"/>
|
---|
| 79 |
|
---|
| 80 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[cbbd1e4] | 81 | href="../common/glibc.xml"
|
---|
[cea2986] | 82 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
| 83 |
|
---|
| 84 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[cbbd1e4] | 85 | href="../common/glibc.xml"
|
---|
[cea2986] | 86 | xpointer="xpointer(//*[@os='k'])"/>
|
---|
| 87 |
|
---|
| 88 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[cbbd1e4] | 89 | href="../common/glibc.xml"
|
---|
[cea2986] | 90 | xpointer="xpointer(//*[@os='l'])"/>
|
---|
| 91 |
|
---|
| 92 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[cbbd1e4] | 93 | href="../common/glibc.xml"
|
---|
[cea2986] | 94 | xpointer="xpointer(//*[@os='m'])"/>
|
---|
| 95 |
|
---|
| 96 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[cbbd1e4] | 97 | href="../multilib/glibc-64bit.xml"
|
---|
[cea2986] | 98 | xpointer="xpointer(//*[@os='n'])"/>
|
---|
| 99 |
|
---|
| 100 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[cbbd1e4] | 101 | href="../multilib/glibc-64bit.xml"
|
---|
[cea2986] | 102 | xpointer="xpointer(//*[@os='o'])"/>
|
---|
| 103 |
|
---|
| 104 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[cbbd1e4] | 105 | href="../multilib/glibc-64bit.xml"
|
---|
[cea2986] | 106 | xpointer="xpointer(//*[@os='p'])"/>
|
---|
| 107 |
|
---|
| 108 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[cbbd1e4] | 109 | href="../common/glibc.xml"
|
---|
[cea2986] | 110 | xpointer="xpointer(//*[@os='q'])"/>
|
---|
| 111 |
|
---|
| 112 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[cbbd1e4] | 113 | href="../common/glibc.xml"
|
---|
[cea2986] | 114 | xpointer="xpointer(//*[@os='r'])"/>
|
---|
| 115 |
|
---|
[5043f73] | 116 | <para>The install will finish by checking that everything is correctly installed.
|
---|
| 117 | Unfortunately, it will test for a multilib installation. On PPC64 Pure64 this means
|
---|
| 118 | it will try to test the non-existent 32-bit loader which has a different name
|
---|
| 119 | from the 64-bit loader (unlike on other 64-bit architectures). We fool it by
|
---|
| 120 | creating a symlink to the real loader.</para>
|
---|
| 121 |
|
---|
[b27081c4] | 122 | <screen><userinput>ln -sv &glibc-ld-name; /lib/ld.so.1</userinput></screen>
|
---|
[5043f73] | 123 |
|
---|
[cea2986] | 124 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[cbbd1e4] | 125 | href="../common/glibc.xml"
|
---|
[cea2986] | 126 | xpointer="xpointer(//*[@os='s'])"/>
|
---|
| 127 |
|
---|
| 128 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[cbbd1e4] | 129 | href="../common/glibc.xml"
|
---|
[cea2986] | 130 | xpointer="xpointer(//*[@os='t'])"/>
|
---|
| 131 |
|
---|
[877cfcd] | 132 | <para>Now we can remove this symlink:</para>
|
---|
[6b54080] | 133 |
|
---|
[b27081c4] | 134 | <screen><userinput>rm -v /lib/ld.so.1</userinput></screen>
|
---|
[6b54080] | 135 |
|
---|
[cf9aa7e] | 136 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 137 | href="../common/glibc.xml"
|
---|
| 138 | xpointer="xpointer(//*[@os='u'])"/>
|
---|
| 139 |
|
---|
| 140 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 141 | href="../common/glibc.xml"
|
---|
| 142 | xpointer="xpointer(//*[@os='v'])"/>
|
---|
| 143 |
|
---|
[cea2986] | 144 | </sect2>
|
---|
| 145 |
|
---|
| 146 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[cbbd1e4] | 147 | href="../common/glibc.xml"
|
---|
| 148 | xpointer="xpointer(id('i18n-glibc'))"/>
|
---|
[cea2986] | 149 |
|
---|
| 150 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[cbbd1e4] | 151 | href="../common/glibc.xml"
|
---|
| 152 | xpointer="xpointer(id('conf-glibc'))"/>
|
---|
[cea2986] | 153 |
|
---|
| 154 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[cbbd1e4] | 155 | href="../common/glibc.xml"
|
---|
[cea2986] | 156 | xpointer="xpointer(id('conf-ld'))"/>
|
---|
| 157 |
|
---|
| 158 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[cbbd1e4] | 159 | href="../common/glibc.xml"
|
---|
| 160 | xpointer="xpointer(id('contents-glibc'))"/>
|
---|
[cea2986] | 161 |
|
---|
| 162 | </sect1>
|
---|