Re: [HACKERS] PostgreSQL supported platform report and a patch.

From: "Billy G(dot) Allie" <Bill(dot)Allie(at)mug(dot)org>
To: Larry Rosenman <ler(at)lerctr(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-ports(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] PostgreSQL supported platform report and a patch.
Date: 2002-11-08 02:11:26
Message-ID: 200211080211.gA82BQx15656@bajor.mug.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-ports

Larry Rosenman wrote:
> Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> > Larry Rosenman <ler(at)lerctr(dot)org> writes:
> >> I don't believe your changes are necessary.
> >
> > The static-inline change was obsoleted by a recent fix, per discussion.
> > But the rpath changes seem possibly useful (or maybe my thoughts are
> > just colored by the fact that I'm currently trying to persuade OpenSSL
> > to build with a non-broken rpath setup on HPUX...) Do you have an
> > objection to the rpath part of Billy's patch?
>
> Not necessarily. I was just concerned about the tuplesort one, and the fact
> that mine builds and passes without the changes.

Larry,

You probably have /usr/local/lib LD_LIBRARY_PATH. On my system
LD_LIBRARY_PATH defaults to /usr/X/lib:/lib and LD_RUN_PATH are not set, and I
prefer it that way. The rpath related changes allow me to specify the
additional library search paths by using the configure --with-libraries option
and have those paths placed into the executable so that the executables can
run without having to the default setting of LD_LIBRARY_PATH.

After reading the discussions, I can think of another enhancement to the rpath
changes: have the contents of LD_LIBRARY_PATH added to the -R (or -rpath)
option inside the port specific makefile. That way, if you add the additional
search paths to LD_LIBRARY_PATH you won't have to use the --with-libraries and
the executable(s) will have the runtime search paths in them so they will
execute without having to change the default LD_LIBRARY_PATH setting.
--
____ | Billy G. Allie | Domain....: Bill(dot)Allie(at)mug(dot)org
| /| | 7436 Hartwell | MSN.......: B_G_Allie(at)email(dot)msn(dot)com
|-/-|----- | Dearborn, MI 48126|
|/ |LLIE | (313) 582-1540 |

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Neil Conway 2002-11-08 02:28:12 Re: [HACKERS] Database replication... - Mission Critica
Previous Message Bill Gribble 2002-11-08 01:51:38 Re: [HACKERS] Database replication... - Mission Critica

Browse pgsql-ports by date

  From Date Subject
Next Message Bruce Momjian 2002-11-08 04:24:20 Re: [HACKERS] PostgreSQL supported platform report and a patch.
Previous Message Larry Rosenman 2002-11-07 22:50:26 Re: [HACKERS] PostgreSQL supported platform report and a