Subject: Re: [Perldl] Error with PGPLOT on Mac OSX From: [email protected] Date: Sun, 10 Oct 2010 20:48:08 -0600 CC: [email protected] To: [email protected] 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 Sorry that I mixed the two thing together as I am new to perl. I tried Matt's precompiled version of PDL for Mac which installed everything and now it works! Really thanks all of you ! " 2010/10/10 RDCS chan <[email protected]>: > Matt, > Try this link: http://sourceforge.net/projects/pdl/files/PDL/2.4.7/SciPDL-Intel-v2.4.7.pkg.zip/download if you grab the download, you should see it as a binary package installer for your Mac. If you're on a linux machine, the download page will default to the .tar.gz ball, which is not what I was suggesting. Note: it only works on Snow Leopard at the moment. The background is that PGPLOT is painful to compile, so I've been maintaining this precompiled version for Mac users. Cheers, Matt
_______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
