Re: postmaster dies with ssl lib error - Mailing list pgsql-admin

FromJustin Clift
SubjectRe: postmaster dies with ssl lib error
Date
Msg-id[email protected]
Whole thread Raw
In response topostmaster dies with ssl lib error  (Randall Perry <[email protected]>)
Listpgsql-admin
Hi Randall,

It looks like one of the Solaris es has changed the behaviour of
ld, and this is causing it to not find the openssl 0.9.6 libraries when
PostgreSQL tries to load.

You'll probably have to take some time and read the info in each 
to try and determine which  caused the change in ld's behaviour,
then maybe either roll the  back or see if there is some
recommended way of making ld work as before.

Would it also be possible to do something simple like export the
LD_LIBRARY_PATH variable (pointing towards openssl) before attempting to
start postmaster?

i.e.

As the postgres user :

$ LD_LIBRARY_PATH=/path/to/openssl:/path/to/other/things/if/needed
$ export LD_LIBRARY_PATH
$ /usr/local/pgsql/bin/postmaster -D /export/spare/home/postgres/data &

???

Regards and best wishes,

Justin Clift


Randall Perry wrote:
>
> Suddenly getting this error on start on a Solaris 8 system (after applying a
> bunch of es)
>
> > /usr/local/pgsql/bin/postmaster -D /export/spare/home/postgres/data &
> ld.so.1: /usr/local/pgsql/bin/postmaster: fatal: libssl.so.0.9.6: open
> failed: No such file or directory
> [1] 1959
> [1]    Killed                        /usr/local/pgsql/bin/postmaster -D
> /export/spare/home/postgres/data
>
> Help!
>
> --
> Randy Perry
> sysTame
> Mac Consulting/Sales
>
> phn                 561.589.6449
> mobile email        [email protected]
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to [email protected]

--
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
     - Indira Gandhi

pgsql-admin by date:

Previous
From: Russ McBride
Date:
Subject: Mac OS X installation web page
Next
From: Ferdinand Smit
Date:
Subject: Query stats