@@ -3,7 +3,7 @@ Frequently Asked Questions (FAQ) for PostgreSQL
33Sun Solaris specific
44To be read in conjunction with the installation instructions.
55============================================================
6- Last updated: $Date:2006/12/02 09:29:51 $
6+ Last updated: $Date:2007/02/23 18:38:19 $
77
88
99Contents:
@@ -16,6 +16,7 @@ Contents:
16166) Where I can download prepared Solaris packages?
17177) How can I tune PostgreSQL and Solaris for performance?
18188) Can I use DTrace for tracing PostgreSQL?
19+ 9) Can I compile PostgreSQL with Kerberos v5 support?
1920
2021
21221) What tools do I need to build and install PostgreSQL on Solaris?
@@ -72,14 +73,12 @@ problem. Solaris 9 and above has a newer version of OpenSSL.
7273This is probably a case of the run-time linker being unable to find
7374some library, probably libz, libreadline or some other non-standard
7475library such as libssl. To point it to the right location, set the
75- LD_LIBRARY_PATH environment variable, e.g.,
76+ LDFLAGS environment variable, e.g.,
7677
77- LD_LIBRARY_PATH= /usr/sfw/lib:/opt/sfw/lib:/usr/local/lib
78- exportLD_LIBRARY_PATH
78+ LDFLAGS="-R /usr/sfw/lib:/opt/sfw/lib:/usr/local/lib"
79+ exportLDFLAGS
7980
80- and restart configure. You will also have to keep this setting whenever
81- you run any of the installed PostgreSQL programs. Alternatively, set
82- the environment variable LD_RUN_PATH. See the ld(1) man page for more
81+ and restart configure. See the ld(1) man page for more
8382information.
8483
8584
@@ -145,6 +144,10 @@ recommendations are also useful on other hardware with Solaris.
145144Yes, see the chapter "Monitoring Database Activity" in the documentation
146145for further information.
147146
147+ You can also find more information here:
148+
149+ http://blogs.sun.com/robertlor/entry/user_level_dtrace_probes_in
150+
148151If you see the linking of the postgres executable abort with an error
149152message like
150153
@@ -157,8 +160,17 @@ message like
157160gmake: *** [postgres] Error 1
158161
159162your DTrace installation is too old to handle probes in static
160- functions. You need Solaris 10u3 or newer.
163+ functions. You need Solaris 10u4 or newer. Workaround is remove static
164+ keyword from AbortTransaction and CommitTransaction functions declaration in
165+ src/backend/access/transam/xact.c.
161166
162- You can also find more information here:
167+ See http://sunsolve.sun.com/search/document.do?assetkey=1-1-2139224-1
168+ (registration required).
169+
170+ 9) Can I compile PostgreSQL with Kerberos v5 support?
171+
172+ Kerberos is integrated in OpenSolaris and will be integrated in Solaris 10u4. GSS security
173+ mechanism contains internal Kerberos v5 library implementation which provide all necessary
174+ krb5 function. However, usage this library is only on own risk. It is private library
175+ and interface may change without notice.
163176
164- http://blogs.sun.com/robertlor/entry/user_level_dtrace_probes_in