On Friday, September 27, 2002, at 09:18 , Andrea Riciputi wrote:

> If I write:
>
>> [localhost:my_dir]me% cc -o prova -I /sw/include prova.c -lgsl -lm
>
> as suggested by GSL manual I get:
>
>> /usr/bin/ld: can't locate file for: -lgsl

Add "-L/sw/lib" before the "-lgsl" (which tells /usr/bin/ld to look in
/sw/lib for libraries).

> Finally, if I search gsl*.lib I can't find it anywhere under /sw.
> Where I get wrong?

The library is probably called libgsl.dylib (or something like that).
Try searching for "libgsl*" instead.

> Please help me,
> Andrea.

HTH,
Dan

--
This email is not suitable for younger and more sensitive readers.
<mailto:[EMAIL PROTECTED]>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to