Re: [Feed-back] Installing PostgreSQL 8.0.0 on SPARC/Solaris. Configure and install issues.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Rolf Sponsel <Rolf(dot)Sponsel(at)kstr(dot)lth(dot)se>
Cc: pgsql-bugs(at)postgresql(dot)org, pgsql-ports(at)postgresql(dot)org
Subject: Re: [Feed-back] Installing PostgreSQL 8.0.0 on SPARC/Solaris. Configure and install issues.
Date: 2005-02-01 03:45:08
Message-ID: 9382.1107229508@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers pgsql-ports

Rolf Sponsel <Rolf(dot)Sponsel(at)kstr(dot)lth(dot)se> writes:
> From my understanding, the preferred way
> for Solaris is to only set LD_RUN_PATH,
> and avoid setting LD_LIBRARY_PATH, at
> link-time. This is what I usually do.

No, the preferred thing is to set -rpath within the executable, which
we do already (see Makefile.solaris). It's possible that you need to
modify rpathdir to include /usr/local/ssl/lib and /usr/local/lib,
but I'd think that indicates fairly serious brain damage in Solaris'
runtime loader. We have many other Solaris users and none of them
have complained of this, so I wonder if you don't have something
misconfigured.

> 1). If I run './configure --with-pam --with-ssl' with
> LD_RUN_PATH = '/usr/local/ssl/lib:/usr/local/lib'
> configure will fail to find the ssl libs, if I do
> not have LD_LIBRARY_PATH set.

See configure's --with-libraries option.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2005-02-01 04:45:59 Re: BUG #1453: NULLs in UNION query
Previous Message m.woehling 2005-01-31 23:55:16 BUG #1453: NULLs in UNION query

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2005-02-01 04:54:32 Re: Some things I like to pick from the TODO list ...
Previous Message Mitch Pirtle 2005-02-01 01:55:22 Re: Last ID Problem

Browse pgsql-ports by date

  From Date Subject
Next Message Peter Eisentraut 2005-02-01 09:57:24 Re: Postgres on Arm Linux
Previous Message Neil Dugan 2005-01-31 18:26:47 applications needed for client port?