[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple -rpaths

From: Scott James Remnant
Subject: Re: Multiple -rpaths
Date: Sat, 15 May 2004 20:20:58 +0100

On Sat, 2004-05-15 at 02:27 -0400, Braden McDaniel wrote:

> I'm getting this warning (using libtool 1.5.6):
>         libtool: link: warning: ignoring multiple `-rpath's for a libtool 
> library
> I'm trying to build a module and I'm only explicitly adding one rpath in
> LDFLAGS. The first one on the command line appears to be added by
> libtool--it points to the module's installation directory. So the rpath
> I'm adding is the one that gets ignored. Is there some way around this?
You're using the wrong option.  -rpath is a Libtool command line option
to tell it where you intend to install the Library (the RPATH other
things might need to link to it).

If you want to *encode* an RPATH into the library use -R/path/to/encode,
you can use that as many times as you like.

Have you ever, ever felt like this?
Had strange things happen?  Are you going round the twist?

Attachment: signature.asc
Description: This is a digitally signed message part

reply via email to

[Prev in Thread] Current Thread [Next in Thread]