You will need -lgfortran at the link stage when you build PGPLOT - not the Perl module, but rather the base library. I just built it today and here is what I ended up putting in the makefile

SHARED_LIB_LIBS=-lX11 -lpng -lz -lgfortran


On 10/17/2011 05:22 PM, zentara wrote:
Hi,

I'm having trouble getting the Perl PGPLOT module going.

I have Perl 5.14 installed.
I have installed the PGPLOT c libs, v5.2 and
the examples work fine for the c examples.

I next went to install the Perl module PGPLOT-2.21

It all built and installed fine, but when I try to run the
Perl examples I get the error:
############################################
$$  perl test1.p

Testing simple point plot...

PGPLOT module version 2.21

perl: symbol lookup error: /usr/local/pgplot/libpgplot.so: undefined symbol:
_gfortran_concat_string
############################################

I tried to alter the Makefile.Pl to use a generic g77 with

use ExtUtils::F77 qw(generic g77) ;

but I still get the same error.

Any clues as to how to fix this? Google is full of links for
  "undefined symbol: _gfortran_concat_string"

and havn't found a useful answer.

Thanks,
zentara






_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl


_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to