On Wed, Dec 13, 2006 at 01:16:35PM +0100, Paul Fee wrote: > The RPATH is slightly different.
The only way to avoid the RPATH (in general) is to link APR/APR-util statically; which can only be achieved by not building the shared libraries. So passing --disable-shared to configure may work, though this is not a configuration that gets any testing at all AFAIK, so it may not work but bug reports are welcome. Having libtool use $ORIGIN-relative RPATHs would certainly be a neat hack for platforms which support that; patches would have to go to the libtool team ;) Alternatively, you can get tools which munge ELF binaries post-build - "chrpath" is the commonly used one IIRC. Regards, joe