logo       

Re: -Wl,-rpath issues: msg#00044

gnu.libtool.general

Subject: Re: -Wl,-rpath issues

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 <skille1@xxxxxxxx>


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise