pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Justin Clift <justin@postgresql.org>
To: Randall Perry <rgp@systame.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: postmaster dies with ssl lib error
Date: Sun, 07 Oct 2001 11:29:08 +1000
Message-ID: <3BBFAFE4.49FE5C64@postgresql.org> (raw)
References: <B7D957E8.114A5%rgp@systame.com>

Hi Randall,

It looks like one of the Solaris patches 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 patch
to try and determine which patch caused the change in ld's behaviour,
then maybe either roll the patch 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 patches)
> 
> > /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        help@systame.com
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

-- 
"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



view thread (2+ messages)

Message-ID: <3BBFAFE4.49FE5C64@postgresql.org>
Permalink:  ../3BBFAFE4.49FE5C64@postgresql.org/
Also on:    postgresql.org/message-id/3BBFAFE4.49FE5C64@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: justin@postgresql.org, rgp@systame.com
  Subject: Re: postmaster dies with ssl lib error
  In-Reply-To: <3BBFAFE4.49FE5C64@postgresql.org>
  References: <B7D957E8.114A5%rgp@systame.com> <3BBFAFE4.49FE5C64@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox