logo       

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

gnu.libtool.general

Subject: Re: -Wl,-rpath issues

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
^
--
albert chin (china@xxxxxxxxxxxxxxxxxx)


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

News | FAQ | advertise