[3f8be484] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
| 8 | <sect1 id="ch-system-glibc" role="wrap">
|
---|
| 9 | <?dbhtml filename="glibc-64bit.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Glibc-&glibc-version; 64-Bit</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-system-glibc">
|
---|
| 14 | <primary sortas="a-Glibc">Glibc</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
[663c5a6] | 17 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 18 | href="glibc.xml"
|
---|
| 19 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
[3f8be484] | 20 |
|
---|
| 21 | <sect2 role="installation">
|
---|
| 22 | <title>Installation of Glibc</title>
|
---|
| 23 |
|
---|
| 24 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 25 | href="glibc.xml"
|
---|
| 26 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
| 27 |
|
---|
| 28 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[c13f654] | 29 | href="glibc.xml"
|
---|
[8125418] | 30 | xpointer="xpointer(//*[@os='g1'])"/>
|
---|
[3f8be484] | 31 |
|
---|
| 32 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[c13f654] | 33 | href="glibc.xml"
|
---|
[8125418] | 34 | xpointer="xpointer(//*[@os='g2'])"/>
|
---|
[c13f654] | 35 |
|
---|
[7d61e92] | 36 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 37 | href="glibc.xml"
|
---|
| 38 | xpointer="xpointer(//*[@os='m1'])"/>
|
---|
| 39 |
|
---|
| 40 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 41 | href="glibc.xml"
|
---|
| 42 | xpointer="xpointer(//*[@os='m2'])"/>
|
---|
| 43 |
|
---|
[c13f654] | 44 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 45 | href="glibc.xml"
|
---|
[8125418] | 46 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
[3f8be484] | 47 |
|
---|
| 48 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[c13f654] | 49 | href="glibc.xml"
|
---|
[8125418] | 50 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
[3f8be484] | 51 |
|
---|
[54dd8b6] | 52 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 53 | href="../common/glibc.xml"
|
---|
| 54 | xpointer="xpointer(//*[@os='p1'])"/>
|
---|
| 55 |
|
---|
| 56 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 57 | href="../common/glibc.xml"
|
---|
| 58 | xpointer="xpointer(//*[@os='p2'])"/>
|
---|
| 59 |
|
---|
[3f8be484] | 60 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[c1266a1] | 61 | href="glibc.xml"
|
---|
| 62 | xpointer="xpointer(//*[@os='s1'])"/>
|
---|
| 63 |
|
---|
| 64 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 65 | href="glibc.xml"
|
---|
| 66 | xpointer="xpointer(//*[@os='s2'])"/>
|
---|
| 67 |
|
---|
| 68 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[3f8be484] | 69 | href="glibc.xml"
|
---|
| 70 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
| 71 |
|
---|
| 72 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 73 | href="glibc.xml"
|
---|
| 74 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
| 75 |
|
---|
[d3a4fc0] | 76 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 77 | href="../multilib/glibc-64bit.xml"
|
---|
| 78 | xpointer="xpointer(//*[@os='m1'])"/>
|
---|
[3f8be484] | 79 |
|
---|
[d3a4fc0] | 80 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 81 | href="../multilib/glibc-64bit.xml"
|
---|
| 82 | xpointer="xpointer(//*[@os='m2'])"/>
|
---|
[3f8be484] | 83 |
|
---|
| 84 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 85 | href="glibc.xml"
|
---|
| 86 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 87 |
|
---|
[d3a4fc0] | 88 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 89 | href="../multilib/glibc-64bit.xml"
|
---|
| 90 | xpointer="xpointer(//*[@os='h'])"/>
|
---|
[3f8be484] | 91 |
|
---|
[d3a4fc0] | 92 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 93 | href="../multilib/glibc-64bit.xml"
|
---|
| 94 | xpointer="xpointer(//*[@os='i'])"/>
|
---|
[3f8be484] | 95 |
|
---|
| 96 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 97 | href="glibc.xml"
|
---|
| 98 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
| 99 |
|
---|
| 100 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 101 | href="glibc.xml"
|
---|
| 102 | xpointer="xpointer(//*[@os='k'])"/>
|
---|
| 103 |
|
---|
| 104 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 105 | href="glibc.xml"
|
---|
| 106 | xpointer="xpointer(//*[@os='l'])"/>
|
---|
| 107 |
|
---|
| 108 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 109 | href="glibc.xml"
|
---|
| 110 | xpointer="xpointer(//*[@os='m'])"/>
|
---|
| 111 |
|
---|
[d3a4fc0] | 112 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 113 | href="../multilib/glibc-64bit.xml"
|
---|
| 114 | xpointer="xpointer(//*[@os='n'])"/>
|
---|
| 115 |
|
---|
| 116 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 117 | href="../multilib/glibc-64bit.xml"
|
---|
| 118 | xpointer="xpointer(//*[@os='o'])"/>
|
---|
| 119 |
|
---|
| 120 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 121 | href="../multilib/glibc-64bit.xml"
|
---|
| 122 | xpointer="xpointer(//*[@os='p'])"/>
|
---|
[3f8be484] | 123 |
|
---|
| 124 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 125 | href="glibc.xml"
|
---|
| 126 | xpointer="xpointer(//*[@os='s'])"/>
|
---|
| 127 |
|
---|
| 128 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 129 | href="glibc.xml"
|
---|
| 130 | xpointer="xpointer(//*[@os='t'])"/>
|
---|
| 131 |
|
---|
| 132 | </sect2>
|
---|
| 133 |
|
---|
| 134 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 135 | href="../common/glibc.xml"
|
---|
| 136 | xpointer="xpointer(id('i18n-glibc'))"/>
|
---|
| 137 |
|
---|
| 138 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 139 | href="../common/glibc.xml"
|
---|
| 140 | xpointer="xpointer(id('conf-glibc'))"/>
|
---|
| 141 |
|
---|
| 142 | <sect2 id="conf-ld" role="configuration">
|
---|
| 143 | <title>Configuring Dynamic Loader</title>
|
---|
| 144 |
|
---|
| 145 | <indexterm zone="conf-ld">
|
---|
| 146 | <primary sortas="e-/etc/ld.so.conf">/etc/ld.so.conf</primary>
|
---|
| 147 | </indexterm>
|
---|
| 148 |
|
---|
| 149 | <para>By default, the dynamic loader (<filename
|
---|
| 150 | class="libraryfile">/lib/ld-linux.so.2</filename>) searches through
|
---|
| 151 | <filename class="directory">/lib</filename> and <filename
|
---|
| 152 | class="directory">/usr/lib</filename> for dynamic libraries that are
|
---|
| 153 | needed by programs as they are run. However, if there are libraries in
|
---|
| 154 | directories other than <filename class="directory">/lib</filename> and
|
---|
| 155 | <filename class="directory">/usr/lib</filename>, these need to be
|
---|
| 156 | added to the <filename>/etc/ld.so.conf</filename> file in order
|
---|
[014d098b] | 157 | for the dynamic loader to find them. Some directories that are commonly
|
---|
[3f8be484] | 158 | known to contain additional libraries are
|
---|
| 159 | <filename class="directory">/usr/local/lib</filename>,
|
---|
| 160 | <filename class="directory">/usr/local/lib32</filename>,
|
---|
| 161 | <filename class="directory">/usr/local/lib64</filename>,
|
---|
| 162 | <filename class="directory">/opt/lib</filename>,
|
---|
| 163 | <filename class="directory">/opt/lib32</filename>,
|
---|
| 164 | and <filename class="directory">/opt/lib64</filename>,
|
---|
| 165 | so add those directories to the dynamic loader's search path.</para>
|
---|
| 166 |
|
---|
| 167 | <para>Create a new file <filename>/etc/ld.so.conf</filename> by running the
|
---|
| 168 | following:</para>
|
---|
| 169 |
|
---|
| 170 | <screen><userinput>cat > /etc/ld.so.conf << "EOF"
|
---|
| 171 | <literal># Begin /etc/ld.so.conf
|
---|
| 172 |
|
---|
| 173 | /usr/local/lib
|
---|
| 174 | /usr/local/lib32
|
---|
| 175 | /usr/local/lib64
|
---|
| 176 | /opt/lib
|
---|
| 177 | /opt/lib32
|
---|
| 178 | /opt/lib64
|
---|
| 179 |
|
---|
| 180 | # End /etc/ld.so.conf</literal>
|
---|
| 181 | EOF</userinput></screen>
|
---|
| 182 |
|
---|
| 183 | </sect2>
|
---|
| 184 |
|
---|
| 185 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 186 | href="../common/glibc.xml"
|
---|
| 187 | xpointer="xpointer(id('contents-glibc'))"/>
|
---|
| 188 |
|
---|
| 189 | </sect1>
|
---|