Hello,
it is clear to me now why:
gfortran -o x01f x01f.f `pkg-config --libs plplotd-f77`
gives the error message:
/bin/ld: cannot find -lplplotf77d
The file it should link against is called libplplotf77d-9.1.1.dll
(and the other one is libplplotf77cd-9.1.1.dll)
If I change the plplotd-f77.pc file to:
libdir=/usr/local/bin
includedir=/usr/local/include/plplot
drvdir=/usr/local/lib/plplot5.8.0-RC1/driversd
Name: PLplot F77
Description: Scientific plotting library (F77 bindings, double precision)
Requires: plplotd
Version: 5.8.0-RC1
Libs: -L${libdir} -lplplotf77d-9.1.1 -lplplotf77cd-9.1.1
Cflags: -I${includedir}
then it works.
I had to change two lines:
libdir points to the _bin_ subdirectory
Libs must specify the complete name of the libraries (well, without
the extension).
Regards,
Arjen
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel