[MacPorts] #54177: netcdf @4.4.1: update to 4.4.1.1
MacPorts
noreply at macports.org
Wed Jun 21 15:24:54 UTC 2017
#54177: netcdf @4.4.1: update to 4.4.1.1
---------------------------+----------------------
Reporter: Dave-Allured | Owner: tenomoto
Type: update | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: netcdf |
---------------------------+----------------------
Comment (by dschlaep):
I am having the same hdf5 header/library mismatch as described in
(#52289)[https://trac.macports.org/ticket/52289] when loading netCDF files
with the R package ncdf4 v1.16:
> The HDF5 header files used to compile this application do not match
> the version used by the HDF5 library to which this application is
linked.
I cannot wait until the macport netcdf is updated to version 4.4.1.1 and
this works again.
I was able to get the header and library version of hdf5 that is used by
ncdf4 to agree with the following steps:
1) install macports 'netcdf' (4.4.1_3+dap+netcdf4) 'hdf5-18'
(1.8.18_0+cxx+hl)
2) copy (or create softlinks to) the content
* from /opt/local/lib/hdf5-18/bin to /opt/local/bin
* from /opt/local/lib/hdf5-18/include to /opt/local/include
* from /opt/local/lib/hdf5-18/lib to /opt/local/lib
3) install the R package 'ncdf4' from source
Now, I can load netCDF files with ncdf4 without segfault.
--
Ticket URL: <https://trac.macports.org/ticket/54177#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list