diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml index 49bb5c2dcc..a2804e76dd 100644 --- a/doc/src/sgml/installation.sgml +++ b/doc/src/sgml/installation.sgml @@ -1,4 +1,4 @@ - + <![%standalone-include[<productname>PostgreSQL</>]]> @@ -1075,6 +1075,29 @@ libpq.so.2.1: cannot open shared object file: No such file or directory </screen> then this step was necessary. Simply take care of it then. </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>