From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM> |
Cc: | John R Pierce <pierce(at)hogranch(dot)com>, pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: INSTALL appnote for Solaris 10... |
Date: | 2007-05-14 18:10:04 |
Message-ID: | 200705141810.l4EIA4L25413@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Feel free to submit a diff against the current Solaris FAQ.
---------------------------------------------------------------------------
Zdenek Kotala wrote:
> John R Pierce wrote:
> > I just built a version of postgres 8.2.4 on Solaris 10 x86 ... a few
> > things that could be mentioned in INSTALL, and or in the Solaris notes....
>
> Solaris.FAQ is best place for it.
> http://www.postgresql.org/docs/faqs.FAQ_Solaris.html
>
> <snip>
> >
> > Solaris has a `crle` command that performs a function similar to
> > ldconfig of the BSD systems. To globally add libreadline and libsl
> > to the library path, I used...
> >
> > crle -l /lib:/usr/lib:/opt/sfw/lib:/usr/sfw/lib
> >
> > if you only wanted to do this for a single user, then put the following
> > in that user's profile,
> >
> > export LD_LIBRARY_PATH; LD_LIBRARY_PATH=/opt/sfw/lib:/usr/sfw/lib
> >
> > for compilation, set the path as..
> >
> > export PATH; PATH=/usr/bin:/opt/SUNWspro/bin:/usr/sfw/bin:/usr/ccs/bin
> >
>
> Better way is use -R linker switch:
>
> LDFLAGS="-R /opt/sfw/lib:/usr/sfw/lib"
>
> >
> > The contrib/start-scripts/freebsd worked adequately as
> > /etc/init.d/postgres if I removed the -l from the `su` commands.
>
> On Solaris 10 SMF is recommended instead standard start stop scripts.
> You can get SMF script for example there:
>
> http://www.sun.com/software/solaris/howtoguides/postgresqlhowto.jsp#2
> or
> http://src.opensolaris.org/source/xref/sfw/usr/src/cmd/postgres/postgresql-8.2/Solaris/
>
>
> Zdenek
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
From | Date | Subject | |
---|---|---|---|
Next Message | Kris Jurka | 2007-05-14 18:29:12 | Re: BUG #3278: PSQLException when using setBinaryStream via JDBC |
Previous Message | steven | 2007-05-14 17:59:06 | BUG #3279: insert or update |