Biman Nath wrote:
>
> Hi,
> I installed a gcc (with g77) package to run fortran programmes on mac
> os x, and when I was looking around for a suitable plotting package, I
> found `fink'. I installed `pgplot' from it, and it seemed to do it without
> any problems. But when I tried to run some sample fortran file, like, `g77
> sample.f -o sample -lpgplot' it says that the file `lpgplot' is not found.
You have to tell the compiler where to find your library:
g77 sample.f -o sample -L/sw/pgplot -lpgplot
And then you will probably need a couple of other libraries, e.g.
-L/sw/lib -lpng -lz -L/usr/X11R6/lib -lX11 -lm
For the pgdemoX programs, I found that g77 needs additionally the
-fno-backslash option.
--
Martin
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners