Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 91778e8

Browse files
committed
Suggest running ldconfig after installation if available.
1 parent fdf07fe commit 91778e8

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

doc/src/sgml/installation.sgml

+24-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.57 2001/09/21 18:37:05 petere Exp $ -->
1+
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.58 2001/09/21 23:20:02 petere Exp $ -->
22

33
<chapter id="installation">
44
<title><![%standalone-include[<productname>PostgreSQL</>]]>
@@ -1075,6 +1075,29 @@ libpq.so.2.1: cannot open shared object file: No such file or directory
10751075
</screen>
10761076
then this step was necessary. Simply take care of it then.
10771077
</para>
1078+
1079+
<para>
1080+
<indexterm>
1081+
<primary>ldconfig</primary>
1082+
</indexterm>
1083+
If you are on <systemitem class="osname">BSD/OS</>, <systemitem
1084+
class="osname">Linux</>, or <systemitem class="osname">SunOS 4</>
1085+
and you have root access you can run
1086+
<programlisting>
1087+
/sbin/ldconfig /usr/local/pgsql/lib
1088+
</programlisting>
1089+
(or equivalent directory) after installation to enable the
1090+
run-time linker to find the shared libraries faster. Refer to the
1091+
manual page of <command>ldconfig</> for more information. On
1092+
<systemitem class="osname">FreeBSD</>, <systemitem
1093+
class="osname">NetBSD</>, and <systemitem
1094+
class="osname">OpenBSD</> the command is
1095+
<programlisting>
1096+
/sbin/ldconfig -m /usr/local/pgsql/lib
1097+
</programlisting>
1098+
instead. Other systems are not known to have an equivalent
1099+
command.
1100+
</para>
10781101
</sect2>
10791102

10801103
<sect2>

0 commit comments

Comments
 (0)