I wrote:
> "Gary V. Vaughan" <[EMAIL PROTECTED]> writes:
> > It has been working forever!
> > 
> >   libtool --mode=link gcc -o foo bar.c -L/usr/local/lib -lbaz
> 
> Aha, I did /usr/local/lib/libbaz.la and then I got the
> not-obvious-to-me error:
> 
> /usr/local/lib/.libs/libbaz.a not found

But, with the command as above it runs:

gcc ... -L/usr/local/lib -lbaz

and does not add the (on this platform) required
-Wl,-rpath,/usr/local/lib.

This is libtool 1.3.3 BTW.

Should it add -rpath or other required stuff?

/assar

Reply via email to