NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Hi Jim. Thanks. I agree it's not finding it but I can't figure out why it isn't. Cheers. -------------- John Helly, UCSD / San Diego Supercomputer Center / Scripps Institution of Oceanography, Climate, Atmospheric Science, and Physical Oceanography / +01 760 840 8660 mobile / stonesteps (Skype) / stonesteps7 (iChat) / /www.sdsc.edu/~hellyj On Aug 2, 2010, at 6:27 AM, Jim Edwards wrote: Hi John, Looks like you are finding the hdf5 include files but not the library file. From your logs look in /usr/local/hdf5-1.8.5-macosx64-static/lib for the file libhdf5.a or libhdf5.so one of these should be present, if not there is your problem. If so try linking to it with a small test program. On Sun, Aug 1, 2010 at 8:09 PM, John Helly <hellyj@xxxxxxxx> wrote: Cheers. -------------- John Helly, UCSD / San Diego Supercomputer Center / Scripps Institution of Oceanography, Climate, Atmospheric Science, and Physical Oceanography / +01 760 840 8660 mobile / stonesteps (Skype) / stonesteps7 (iChat) / /www.sdsc.edu/~hellyj On Aug 1, 2010, at 7:04 PM, John Helly wrote: Same result with the beta as well. checking hdf5.h presence... yes checking for hdf5.h... yes checking whether we should try to build netCDF-4... yes checking for H5Fflush in -lhdf5... no configure: error: Can't find or link to the hdf5 library. Configure with --disable-netcdf-4 or see config.log for errors. NeptuneStonesteps.local:~/src/netcdf-4.1.2-beta1> Cheers. -------------- John Helly, UCSD / San Diego Supercomputer Center / Scripps Institution of Oceanography, Climate, Atmospheric Science, and Physical Oceanography / +01 760 840 8660 mobile / stonesteps (Skype) / stonesteps7 (iChat) / /www.sdsc.edu/~hellyj On Aug 1, 2010, at 7:01 PM, John Helly wrote: Greetings. I am struggling to compile netcdf-4.1.1 on OSX 10.6.4 with hdf5 and fortran so I can build Dave Pierce's new ncview. I have worked my way through some earlier problems and have come to this script: #!/bin/bash make distclean #export LDFLAGS="-L/usr/local/hdf5-1.8.5-macosx32-static" export CC=/usr/bin/cc export CFLAGS='-m32' #export CPPFLAGS=-Df2cFortran export F77=gfortran export FC=gfortran export FCFLAGS=-qsuffix=cpp=f90 ./configure --prefix=/usr/local/netcdf-4.1.1 --enable-netcdf-4 --enable-f90 --with-hdf5=/usr/local/hdf5-1.8.5-macosx32-static # #export LDFLAGS="-L/usr/local/hdf5-1.8.5-macosx64-static" #./configure --prefix=/usr/local/netcdf-4.1.1 --enable-netcdf-4 --enable-f90 --with-hdf5=/usr/local/hdf5-1.8.5-macosx64-static This got me past some earlier problems with 32-bit fortran libraries (I think) but now I'm getting complaints about the hdf5 libraries even though they seem to be found for some things. checking for manual-page index command... checking hdf5.h usability... yes checking hdf5.h presence... yes checking for hdf5.h... yes checking whether we should try to build netCDF-4... yes checking for H5Fflush in -lhdf5... no configure: error: Can't find or link to the hdf5 library. Configure with --disable-netcdf-4 or see config.log for errors. I'm attaching the config.log for those who might care to look. In the script above, you can see that I experimented with defining the LDFLAGS and this solved the problem of the missing -lhdf5 but introduced a bunch of other even stranger problems that made me think I was overriding some more basic library paths by specifying LDFLAGS. Anyway, I couldn't figure out what those problems were so I backed up to this in hoping that someone out there would have a suggestion. Any help would be appreciated. Cheers. -------------- John Helly, UCSD / San Diego Supercomputer Center / Scripps Institution of Oceanography, Climate, Atmospheric Science, and Physical Oceanography / +01 760 840 8660 mobile / stonesteps (Skype) / stonesteps7 (iChat) / /www.sdsc.edu/~hellyj <config.log> _______________________________________________ netcdfgroup mailing list netcdfgroup@xxxxxxxxxxxxxxxx For list information or to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/
netcdfgroup
archives: