Subject: Re: libtool problem with runtime shlib path propagation
To: Matthias Drochner <M.Drochner@fz-juelich.de>
From: Todd Vierling <tv@wasabisystems.com>
List: tech-pkg
Date: 02/14/2002 13:52:03
On Wed, 13 Feb 2002, Matthias Drochner wrote:

: A package builds a shared library (using libtool) which
: depends on X11 libraries.
: The linker call looks like
: libtool --mode=link cc -o lib.la *.lo -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib
: -lX11

When using libtool, the correct option is "-rpath".  -Wl,-R should only be
used by non-libtoolized packages.  libtool converts "-rpath" to the linker
options detected by libtool's configure step.

-- 
-- Todd Vierling <tv@wasabisystems.com>  *  Wasabi & NetBSD:  Run with it.
-- CDs, Integration, Embedding, Support -- http://www.wasabisystems.com/