Mcstas

Kristian Nielsen kristian.nielsen at risoe.dk
Wed Sep 29 10:27:21 CEST 1999


> Date: Wed, 25 Aug 1999 13:39:08 -0400
> From: eiverson at anl.gov

> Unfortunately, I still cannot get perl-PGPLOT to successfully compile.  It 
> will "make" without any errors, but "make test" fails completely.

> black % make test
> PERL_DL_NONLAZY=1 /usr/bin/perl -I./blib/arch -I./blib/lib -I/usr/lib/perl5/i386-
> linux/5.00404 -I/usr/lib/perl5 test.pl
> ============== Running test1.p ==============
> Can't load './blib/arch/auto/PGPLOT/PGPLOT.so' for module PGPLOT: ./blib/arch/aut
> o/PGPLOT/PGPLOT.so: undefined symbol: fstat at /usr/lib/perl5/i386-linux/5.00404/
> DynaLoader.pm line 166.
> 
>  at test1.p line 3
> BEGIN failed--compilation aborted at test1.p line 3.

I managed to solve a similar problem on another linux machine. On this
machine, the compiler has a new fortran library which is called
"libg2c", but PgPerl picked up the old library "libf2c". Changing all
occurences of "f2c" into "g2c" in the file "Makefile" before running
make solved the problem. Perhaps you could try it and see if it solves
your problem also?

I will contact the PgPerl author to get a permanent solution.

 - Kristian.

--
Kristian Nielsen        kristian.nielsen at risoe.dk
Risø National Laboratory
Condensed Matter Physics and Chemistry Department
Tel. +45 4677 5515   Fax +45 4677 4790






More information about the mcstas-users mailing list