2001-03-14 04:42:11 +08:00
|
|
|
============================================================
|
2001-12-10 21:03:12 +08:00
|
|
|
Frequently Asked Questions (FAQ) for PostgreSQL 7.2
|
2001-03-14 04:42:11 +08:00
|
|
|
Sun Solaris specific
|
|
|
|
to be read in conjunction with the installation instructions
|
|
|
|
============================================================
|
2001-12-10 21:03:12 +08:00
|
|
|
last updated: $Date: 2001/12/10 13:02:20 $
|
1999-09-27 11:34:54 +08:00
|
|
|
|
2001-12-10 21:03:12 +08:00
|
|
|
current maintainer: Peter Eisentraut <peter_e@gmx.net>
|
1999-09-27 11:34:54 +08:00
|
|
|
|
|
|
|
|
|
|
|
Contents:
|
|
|
|
|
2001-03-14 04:42:11 +08:00
|
|
|
1) What tools do I need to build and install PostgreSQL on Solaris?
|
|
|
|
2) Why do I get problems when building with OpenSSL support?
|
2001-04-05 04:02:31 +08:00
|
|
|
3) Why does configure complain about a failed test program?
|
1999-09-28 00:44:56 +08:00
|
|
|
|
|
|
|
|
2001-03-14 04:42:11 +08:00
|
|
|
1) What tools do I need to build and install PostgreSQL on Solaris?
|
1999-09-27 11:34:54 +08:00
|
|
|
|
|
|
|
You will need
|
|
|
|
|
2001-03-14 04:42:11 +08:00
|
|
|
- GNU zip (for installing the documentation)
|
1999-09-27 11:34:54 +08:00
|
|
|
- GNU make
|
2001-03-14 04:42:11 +08:00
|
|
|
- GNU readline library (optional)
|
1999-09-27 11:34:54 +08:00
|
|
|
|
2001-03-14 04:42:11 +08:00
|
|
|
Both GCC and the Sun compiler suite work.
|
1999-09-27 11:34:54 +08:00
|
|
|
|
|
|
|
If you like Solaris packages, you can find these tools here:
|
|
|
|
http://www.sunfreeware.com
|
|
|
|
|
|
|
|
If you prefer sources, look here:
|
|
|
|
http://www.gnu.org/order/ftp.html
|
|
|
|
|
|
|
|
|
2001-03-14 04:42:11 +08:00
|
|
|
2) Why do I get problems when building with OpenSSL support?
|
1999-09-27 11:34:54 +08:00
|
|
|
|
2001-04-09 00:36:13 +08:00
|
|
|
When you build PostgreSQL with OpenSSL support you might get
|
2001-03-14 04:42:11 +08:00
|
|
|
compilation errors in the following files:
|
1999-09-27 11:34:54 +08:00
|
|
|
|
2001-03-14 04:42:11 +08:00
|
|
|
src/backend/libpq/crypt.c
|
|
|
|
src/backend/libpq/password.c
|
|
|
|
src/interfaces/libpq/fe-auth.c
|
|
|
|
src/interfaces/libpq/fe-connect.c
|
1999-09-27 11:34:54 +08:00
|
|
|
|
2001-03-14 04:42:11 +08:00
|
|
|
This is because of a namespace conflict between the standard
|
|
|
|
/usr/include/crypt.h header and the header files provided by OpenSSL.
|
1999-09-27 11:34:54 +08:00
|
|
|
|
2001-04-09 00:36:13 +08:00
|
|
|
Upgrading your OpenSSL installation to version 0.9.6a fixes this
|
|
|
|
problem.
|
2001-04-05 04:02:31 +08:00
|
|
|
|
|
|
|
|
|
|
|
3) Why does configure complain about a failed test program?
|
|
|
|
|
|
|
|
This is probably a case of the run-time linker being unable to find
|
|
|
|
libz or some other non-standard library, such as libssl. To point it
|
|
|
|
to the right location, set the LD_LIBRARY_PATH environment variable,
|
|
|
|
e.g.,
|
|
|
|
|
|
|
|
LD_LIBRARY_PATH=/usr/local/lib:/usr/local/ssl/lib
|
|
|
|
export LD_LIBRARY_PATH
|
|
|
|
|
|
|
|
and restart configure. You will also have to keep this setting
|
|
|
|
whenever you run any of the installed PostgreSQL programs.
|
|
|
|
|
2001-12-10 21:03:12 +08:00
|
|
|
Alternatively, set the environment variable LD_RUN_PATH. See the
|
|
|
|
ld(1) man page for more information.
|