Re: Re: problem getting postgres 8.3.1 with xml support to work on Redhat Enterprise Linux 4

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Re: problem getting postgres 8.3.1 with xml support to work on Redhat Enterprise Linux 4
Date: 2008-07-02 04:34:26
Message-ID: 20080702043426.GA27142@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Jul 01, 2008 at 05:06:54PM +0800, Craig Ringer wrote:
> >What could be more friendly than providing few ways to specify where
> >to look for shared libraries?
>
> rpath linking, so the executable can have relative (or at least on some
> systems absolute) paths to libraries "burned in" at link time. At least
> recent-ish versions of the GNU toolchain do support rpath during
> linking, and the dynamic linker from glibc can use the rpath information.

Oh, Linux supprts rpath, it's just that Debian (and some other
distributions IIRC) forbid its use in distributed binaries.

http://people.debian.org/~che/personal/rpath-considered-harmful

The basic problem is that it makes upgrades difficult if not
impossible wihout recompiling everything.

Postgresql has configure options relating to rpath, never used them
though.

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while
> boarding. Thank you for flying nlogn airlines.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2008-07-02 06:02:47 Re: SRF written in C
Previous Message Tom Lane 2008-07-01 22:19:49 Re: Memory use in 8.3 plpgsql with heavy use of xpath()