Re: Re: problem getting postgres 8.3.1 with xml support to work on Redhat Enterprise Linux 4 - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: Re: problem getting postgres 8.3.1 with xml support to work on Redhat Enterprise Linux 4
Date
Msg-id 20080702043426.GA27142@svana.org
Whole thread Raw
In response to Re: Re: problem getting postgres 8.3.1 with xml support to work on Redhat Enterprise Linux 4  (Craig Ringer <craig@postnewspapers.com.au>)
List 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@svana.org>   http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while
> boarding. Thank you for flying nlogn airlines.

Attachment

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Memory use in 8.3 plpgsql with heavy use of xpath()
Next
From: Martijn van Oosterhout
Date:
Subject: Re: SRF written in C