Hi

On Sun, Feb 23, 2003 at 04:51:33PM +0100, Miguel Mendez wrote:
> > and the command-line:
> > 
> >    gcc test.c -o test -lHermes
> > 
> 
> You probably want something like this:
> 
>    cc -o test test.c -L/usr/local/lib -lHermes
>  

Yeah that's all well and good for me compiling my own programs, but the OpenPTC
`configure' checks for Hermes by writing the test program that I posted and
linking with the above line :-)  It doesn't put -L/usr/local/lib in.  I suppose
I can just hack the `configure' script but surely there's a better solution?

> IIRC, ld.so.conf only affects the runtime dynamic linker, in a similar
> way LD_LIBRARY_PATH does.

Ahh, darn, that's not what the ld man page says :)  But it didn't work when I
put the paths in ld.so.conf so I guess it's wrong..

Thanks for your suggestions.

sam


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to