[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: -Wl,-rpath issues
From: |
Steven F. Killen |
Subject: |
Re: -Wl,-rpath issues |
Date: |
Mon, 16 Feb 2004 11:20:12 -0500 (EST) |
On Mon, 16 Feb 2004, Albert Chin wrote:
> On Mon, Feb 16, 2004 at 10:58:20AM -0500, Steven F. Killen wrote:
> > I did some searching in libtool and bugs-libtool, and didn't find anything
> > directly related to a problem I'm having with LDFLAGS and libtool.
> >
> > Due to our distribution mechanism, programs that use shared libraries need
> > to be told where to look at runtime. LDFLAGS looks like this:
> >
> > -L/usr/local/lib -Wl,-rpath /usr/local/lib
>
> You should use -Wl,-rpath,/usr/local/lib
> ^
Thanks, this was exactly the problem.
--
Steve Killen <address@hidden>