Open gdevenyi opened 2 years ago
MATLAB's launcher defines a bunch of LD_LIBRARY_PATH, which includes their HDF5 library. They don't mangle symbols like ITK does, so there's a library conflict, and the minc tools all bail out.
The reason for this is we're using RUNPATH during linking, which is lower presidence than RPATH. See: https://medium.com/obscure-system/rpath-vs-runpath-883029b17c45
I've reported this to MATLAB as a bug (they should use RUNPATH/RPATH for their builds, or mangle their symbols).
A static build fixes this.
MATLAB's launcher defines a bunch of LD_LIBRARY_PATH, which includes their HDF5 library. They don't mangle symbols like ITK does, so there's a library conflict, and the minc tools all bail out.
The reason for this is we're using RUNPATH during linking, which is lower presidence than RPATH. See: https://medium.com/obscure-system/rpath-vs-runpath-883029b17c45
I've reported this to MATLAB as a bug (they should use RUNPATH/RPATH for their builds, or mangle their symbols).
A static build fixes this.