|
1 |
| -<!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.57 2001/09/2118:37:05 petere Exp $ --> |
| 1 | +<!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.58 2001/09/2123:20:02 petere Exp $ --> |
2 | 2 |
|
3 | 3 | <chapter id="installation">
|
4 | 4 | <title><![%standalone-include[<productname>PostgreSQL</>]]>
|
@@ -1075,6 +1075,29 @@ libpq.so.2.1: cannot open shared object file: No such file or directory
|
1075 | 1075 | </screen>
|
1076 | 1076 | then this step was necessary. Simply take care of it then.
|
1077 | 1077 | </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> |
1078 | 1101 | </sect2>
|
1079 | 1102 |
|
1080 | 1103 | <sect2>
|
|