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: /opt/local/bin/perl "-Iblib/arch" "-Iblib/lib" pdldoc.PL pdldoc Extracting pdldoc (WITH bad value support) /opt/local/bin/perl "-I../../blib/arch" "-I../../blib/lib" pptemplate.PL pptemplate Extracting pptemplate (with variable substitutions) PERL5OPT='' podselect pptemplate > pptemplate.pod Skip ../../blib/lib/PDL/PP.pm (unchanged) Skip ../../blib/lib/PDL/PP/Var.pm (unchanged) Skip ../../blib/lib/PDL/PP/CType.pm (unchanged) Skip ../../blib/lib/PDL/PP/PDLCode.pm (unchanged) Skip ../../blib/lib/PDL/PP/SymTab.pm (unchanged) Skip ../../blib/lib/PDL/PP/PdlParObj.pm (unchanged) Skip ../../blib/lib/PDL/PP/Signature.pm (unchanged) Skip ../../blib/lib/PDL/PP/XS.pm (unchanged) Skip ../../blib/lib/PDL/PP/Dump.pm (unchanged) Skip ../../blib/lib/PDL/pptemplate.pod (unchanged) Skip ../../blib/lib/PDL/PP/Struct.pm (unchanged) Skip ../../blib/lib/PDL/PP/Dims.pm (unchanged) cp pptemplate ../../blib/script/pptemplate /opt/local/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" ../../blib/script/pptemplate Manifying ../../blib/man1/pptemplate.1pm Manifying ../../blib/man3/PDL::pptemplate.3pm **** Not building PDL::Graphics::Karma, turn on WITH_KARMA if this is incorrect **** **** Cannot find plplot library (libplplotd.dylib), skipping PDL::Graphics::PLplot Not building PDL::Graphics::PLplot **** **** Cannot find hdf library, libdf.a.Please add the correct library path to Makefile.PL or install HDFCannot find hdf header file, hdf.h.Please add the correct library path to Makefile.PL or install HDF Skipping build of PDL::IO::HDF. **** **** Cannot find GD library, .Please add the correct library path to Makefile.PL or install GD.Cannot find GD header file, .Please add the correct library path to Makefile.PL or install GD. Skipping build of PDL::IO::GD. **** **** Not building GSL modules: GSL version UNKNOWN VERSION found, but need at least 1.3 **** **** Skipping build of PDL::FFTW. **** **** Cannot find Proj library, libproj.a. Please add the correct library path to Makefile.PL or install Proj. Cannot find Proj header file, proj_api.h. Please add the correct library path to Makefile.PL or install Proj. Skipping build of PDL::GIS::Proj. **** **** Will skip build of PDL::Transform::Proj4 on this system **** PERL5OPT='' podselect pdldoc > pdldoc.pod /opt/local/bin/perl "-Iblib/arch" "-Iblib/lib" perldl.PL perldl Extracting perldl (with variable substitutions) PERL5OPT='' podselect perldl > perldl.pod Skip blib/lib/PDL/perldl.pod (unchanged) Skip blib/lib/PDL/pdldoc.pod (unchanged) cp pdldoc blib/script/pdldoc /opt/local/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/pdldoc cp perldl blib/script/perldl /opt/local/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/perldl PERL_DL_NONLAZY=1 /opt/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/aaa_load..................ok t/argtest...................ok t/autoload..................ok t/bad.......................ok 3/79 skipped: various reasons t/basic.....................ok t/bess......................ok t/bool......................ok t/callext...................ok t/clump.....................ok t/complex...................ok t/config....................ok 14/15 skipped: various reasons t/constructor...............ok 1/1 skipped: various reasons t/conv......................ok t/core......................ok t/croak.....................ok t/diskcache.................ok t/dumper....................ok t/erf.......................ok t/erfi......................ok t/familyfree................ok t/fastraw...................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-10 Failed 10/10 tests, 0.00% okay t/fft.......................ok t/fftw......................skipped all skipped: PDL::FFTW not available t/fits......................ok 79/83 skipped: various reasons t/flexraw...................ok 5/9 skipped: various reasons t/flexraw_fortran...........ok t/flow......................ok t/foo.......................ok t/func......................ok t/gauss.....................ok t/gd_oo_tests...............skipped all skipped: Skipped: PDL::IO::GD requires the gd image library. t/gd_tests..................skipped all skipped: Skipped: PDL::IO::GD requires the gd image library: No such file or directory t/gis_proj..................skipped all skipped: PDL::GIS::Proj requires the Proj module. t/gsl_diff..................ok t/gsl_integ.................ok t/gsl_interp................skipped all skipped: PDL::GSL::INTERP not installed t/gsl_mroot.................skipped all skipped: PDL::GSL::MROOT not installed t/gsl_rng...................ok t/gsl_sf....................ok t/hdf_sd....................skipped all skipped: PDL::IO::HDF module not available. t/hdf_vdata.................skipped all skipped: PDL::IO::HDF module not available. t/hdf_vgroup................skipped all skipped: PDL::IO::HDF module not available. t/hdrs......................ok t/hist......................ok t/howbig....................ok t/ica.......................ok t/image2d...................ok t/imagend...................ok t/imagergb..................ok t/inlinepdlpp...............skipped all skipped: Skipped: Inline not installed t/interp....................ok t/interp_slatec.............ok t/interpol..................ok t/iotypes...................ok t/limits_00.................ok t/limits_errb...............ok t/limits_keyspecs...........ok t/limits_normalize_dsets....ok t/limits_range..............ok t/limits_round..............ok t/limits_trans..............ok t/limits_trans_err..........ok t/limits_ulimits............ok t/linfit....................ok t/lut.......................ok t/lvalue....................ok t/magic.....................ok t/matmult...................ok t/matrix....................ok t/matrixops.................ok t/minuit....................ok t/misc......................ok t/ndf.......................skipped all skipped: PDL::IO::NDF module not available. t/niceslice.................ok t/nsdatahandle..............ok t/ones......................ok t/opengl....................skipped all skipped: ok 1 # Skipped: DISPLAY environment variable not set t/ops.......................ok t/pdl_from_string...........skipped all skipped: pdl string constructor tests not implemented t/pdlchar...................ok t/pgplot....................ok t/physical..................ok t/pic_16bit.................ok 2/5 skipped: various reasons t/picnorgb..................ok t/picrgb....................ok t/plplot....................skipped all skipped: PDL::Graphics::PLplot not installed t/pnm.......................ok t/poly......................ok t/polyroots.................ok t/pptest....................ok t/primitive.................ok t/primitive2................ok t/proj_transform............skipped all skipped: PDL::Transform::Proj4 requires the PDL::Transform::Proj4 module! t/proj_transform2...........skipped all skipped: PDL::Transform::Proj4 requires the PDL::Transform::Proj4 module! t/pthread...................ok t/reduce....................ok t/refs......................ok t/requiredmods..............ok t/round.....................ok t/scope.....................ok t/segfault..................ok t/slatec....................ok t/slice.....................ok t/storable..................ok t/subclass..................ok t/subclass2.................ok t/subclass3.................ok t/subclass4.................ok t/thread....................ok t/thread_def................ok t/transform.................ok t/trig......................ok t/ufunc.....................ok t/vaffine...................ok t/xvals.....................ok Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/fastraw.t 255 65280 10 19 1-10 16 tests and 104 subtests skipped. Failed 1/115 test scripts. 10/1105 subtests failed. Files=115, Tests=1105, 12 wallclock secs (10.20 cusr + 1.72 csys = 11.92 CPU) ExtUtils::F77: Version 1.16 Failed 1/115 test programs. 10/1105 subtests failed. make: *** [test_dynamic] Error 25 Seems there are plenty of errors............. Jeffrey
_______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
