On Oct 10, 2010, at 4:04 AM, RDCS chan wrote:
>
>
> Date: Sat, 9 Oct 2010 21:58:55 -1000
> Subject: Re: [Perldl] Error with PGPLOT on Mac OSX
> From: [email protected]
> To: [email protected]
> CC: [email protected]
>
>
>
> 2010/10/9 RDCS chan <[email protected]>
> Hi ,
>
> I am currently running Perl scripts which require the use of PGPLOT. I tried
> to use MacPorts to install PGPLOT and get the PDL::GRAPHIC::PGPLOT module (
> the most updated one as I can found ) from CPAN, there is no error message
> giving out in the installation process.
>
> But when I run my program, it gives the following error:
>
> dyld: lazy symbol binding failed: Symbol not found: __gfortran_concat_string
> Referenced from:
> /Library/Perl/5.10.0/darwin-thread-multi-2level/auto/PGPLOT/PGPLOT.bundle
> Expected in: flat namespace
>
>
> Your PGPLOT module didn't build correctly. Is seems the ExtUtils::F77 part of
> hte install did not find your gfortran runtime library and so did not link
> PGPLOT properly. PGPLOT itself seems to be fine because the error comes from
> the PGPLOT.bundle. Did "make test" work when you build the PGPLOT perl module?
>
> Karl does have an updated F77.pm module for gfortran on OSX but it's not been
> released yet. I might be able to dig a copy out but I'd first like to see
> your PGPLOT module build output and make test.
>
> Tim
>
>
>
> I went back and try to do a make test on the PDL::GRAPHICS::PGPLOT, it gives
> me the following output:
You misunderstood what Tim asked for. There is the pgplot Fortran and C
library (which you probably have, version 5.2.2). Then there is the PGPLOT
perl module, which is necessary (for historical reasons) for Perl to talk to
the pgplot c & fortran library (this is at version 2.20 now). Then there is
PDL::Graphics::PGPLOT, which makes the whole thing work within PDL, and is part
of the PDL distribution. Tim was asking about the PGPLOT perl module.
derek
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl