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.
> 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:
> 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:
In response to
pgsql-bugs by date
|Next:||From: Peter Koczan||Date: 2007-05-10 20:14:39|
|Subject: BUG #3266: SSL broken pipes kill the machine and fill the disk|
|Previous:||From: Luiz K. Matsumura||Date: 2007-05-10 17:52:49|
|Subject: Re: pg_dump + serial + sequence problem|