On 8/3/2012 7:11 AM, dpath2o wrote:
It's been awhile for me having had problems with PDL on my Mac OS Lion (10.7.4) , but recently I had an OS disk failure and long story short after re-installing the OS and software, including PDL and PDL::NetCDF, I now get the following error when attempting to run any of my Perl code with PDL::NetCDF: [PDL->Version: 6 PDL_CORE_VERSION: 8 XS_VERSION: 4.16] PDL::NetCDF needs to be recompiled against the newly installed PDL at /System/Library/Perl/5.12/darwin-thread-multi-2level/DynaLoader.pm line 227. I have tried re-compiling PDL::NetCDF as well as recompiling PDL. I have played a little with Makefile in PDL::NetCDF to add my 'Fink' directories where netcdf is compiled. PDL::NetCDF compiles without an error. I'll continue to work on this, but if any has any suggestions, thanks in advance.
The problem appears to be that your PDL::NetCDF library was not compiled against the same version of PDL that you are using. The PDL binary is from PDL->Version of 6 while the PDL::NetCDF is from version 8. Version 8 corresponds to a build from PDL-2.4.10 or PDL-2.4.11 while version 6 corresponds to PDL-2.4.9 or earlier. It sounds like you have more than 1 PDL installation in your path causing version skew from loading or building with the wrong dynamic libraries... --Chris _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
