Subject: RPATH (was Re: new packages)
To: Tim Rightnour <>
From: Todd Vierling <>
List: tech-pkg
Date: 08/10/1998 10:03:18
On Sun, 9 Aug 1998, Tim Rightnour wrote:

: Please include -Wl,-R$(LOCALBASE)/lib  or -Wl,-R$(X11BASE)/lib whenever you use
: the corresponding -L option.  This is an elf thing, and will not affect a.out
: packages in any way.  It will however correctly build the ELF packages.  Its
: usually a matter of adding this to the LDFLAGS somewhere in the pkg, in front
: of whatever -L options you specify.  This is only needed when linking shared
: libraries in..

This is even easier with GNU pkgs.  If you add


(or X11BASE, or both, as appropriate), it will DTRT automatically.

-- Todd Vierling (Personal; Bus.