xdmf I/O HDF5 linking error on MacOS: libhdf5.101.dylib not found

Ruben Di Battista rubendibattista at gmail.com
Thu Nov 15 02:28:16 UTC 2018


Hello, 

Recently on Macports hdf5 (4.3.0) and netcdf packages were updated. Recompiling vtk with xdmf support  (and python27 bindings) returns me this error: 

:info:build [ 78%] Python Wrapping - generating vtkFillHolesFilterPython.cxx
:info:build cd /opt/local/var/macports/build/_Users_***_git_macports-ports_graphics_vtk/vtk/work/build/Wrapping/Python && ../../bin/vtkWrapPython-8.1 @/opt/local/var/macports/build/_Users_***_git_macports-ports_graphics_vtk/vtk/work/build/Wrapping/Python/vtkFiltersModelingPython.Release.args -o /opt/local/var/macports/build/_Users_***_git_macports-ports_graphics_vtk/vtk/work/build/Wrapping/Python/vtkFillHolesFilterPython.cxx /opt/local/var/macports/build/_Users_***_git_macports-ports_graphics_vtk/vtk/work/VTK-8.1.1/Filters/Modeling/vtkFillHolesFilter.h
:info:build ld: file not found: /opt/local/lib/libhdf5.101.dylib for architecture x86_64

Checking in the library folder (/opt/local/lib) I have not `libhdf5.101.dylib`, but `libhdf5.103.dylib`. Where in the VTK’s CMakeFiles.txt the actual HDF5 library version gets computed? 

Can you give me an hint on how I can try to fix this linking error? Seems to be related to some “leftover” of the previous installation maybe… I tried a port clean on vtk and hdf5 but I keep getting this error… 


          _   
-.     .´  |∞∞∞∞
  ',  ;    |∞∞∞∞∞∞
    ˜˜     |∞∞∞∞∞∞∞∞∞ RdB
    ,.,    |∞∞∞∞∞∞
  .'   '.  |∞∞∞∞
-'       `’

https://rdb.is
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20181115/73f14baa/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP using AMPGpg
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20181115/73f14baa/attachment.sig>


More information about the macports-dev mailing list