mirror of
https://github.com/postgres/postgres.git
synced 2025-05-02 11:44:50 +03:00
Suggest running ldconfig after installation if available.
This commit is contained in:
parent
fdf07fe14f
commit
91778e890d
@ -1,4 +1,4 @@
|
|||||||
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.57 2001/09/21 18:37:05 petere Exp $ -->
|
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.58 2001/09/21 23:20:02 petere Exp $ -->
|
||||||
|
|
||||||
<chapter id="installation">
|
<chapter id="installation">
|
||||||
<title><![%standalone-include[<productname>PostgreSQL</>]]>
|
<title><![%standalone-include[<productname>PostgreSQL</>]]>
|
||||||
@ -1075,6 +1075,29 @@ libpq.so.2.1: cannot open shared object file: No such file or directory
|
|||||||
</screen>
|
</screen>
|
||||||
then this step was necessary. Simply take care of it then.
|
then this step was necessary. Simply take care of it then.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
<indexterm>
|
||||||
|
<primary>ldconfig</primary>
|
||||||
|
</indexterm>
|
||||||
|
If you are on <systemitem class="osname">BSD/OS</>, <systemitem
|
||||||
|
class="osname">Linux</>, or <systemitem class="osname">SunOS 4</>
|
||||||
|
and you have root access you can run
|
||||||
|
<programlisting>
|
||||||
|
/sbin/ldconfig /usr/local/pgsql/lib
|
||||||
|
</programlisting>
|
||||||
|
(or equivalent directory) after installation to enable the
|
||||||
|
run-time linker to find the shared libraries faster. Refer to the
|
||||||
|
manual page of <command>ldconfig</> for more information. On
|
||||||
|
<systemitem class="osname">FreeBSD</>, <systemitem
|
||||||
|
class="osname">NetBSD</>, and <systemitem
|
||||||
|
class="osname">OpenBSD</> the command is
|
||||||
|
<programlisting>
|
||||||
|
/sbin/ldconfig -m /usr/local/pgsql/lib
|
||||||
|
</programlisting>
|
||||||
|
instead. Other systems are not known to have an equivalent
|
||||||
|
command.
|
||||||
|
</para>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2>
|
<sect2>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user