Notice: rpath in use

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Notice: rpath in use
Date: 2000-10-28 00:20:43
Message-ID: Pine.LNX.4.21.0010280210190.838-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Picking up from a discussion several months back, the build now uses the
-rpath option (or -Wl,-R or whatever yours uses) to store the location of
the shared libraries into the executables and the shared libraries
themselves. That means that the LD_LIBRARY_PATH/ld.so.conf thing should
no longer be necessary.

When making a binary package you might not want to use this. Use
"configure --disable-rpath" to disable it.

Doesn't work on all platforms, though. (OTOH, if you're using hpux,
osf/cc, or irix5 then this is old news for you, but now it's a feature
across the board.)

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin O'Gorman 2000-10-28 00:58:23 Problem with installing as root
Previous Message Larry Rosenman 2000-10-28 00:06:19 Re: Summary: what to do about INET/CIDR