[FieldTrip] Simbio Unusable on Mac OS
Nakhnikian, Alexander
Alexander_Nakhnikian at hms.harvard.edu
Mon Jan 18 20:08:49 CET 2021
Hello All,
I’m trying to build a FEM using the simbio option and I’ve run into the following sequence of error. I’m running Matlab 2019b and Mac OS 10.15.6. I cannot tell whether it is a problem with improper installation or Mac’s increasing insistence on micromanaging every aspect of their OS and locking out user/third party software control. If anyone has suggested installation fixes or terminal hacks please let me know. Error messages and attempted fixes are included below.
Thanks,
Alexander
Error 1:
Invalid MEX-file
'/Users/alexander/Documents/MATLAB/fieldtrip-20200911/external/simbio/calc_stiff_matrix_val.mexmaci64':
dlopen(/Users/alexander/Documents/MATLAB/fieldtrip-20200911/external/simbio/calc_stiff_matrix_val.mexmaci64, 6):
Library not loaded: /usr/local/lib/libgfortran.3.dylib
Referenced from:
/Users/alexander/Documents/MATLAB/fieldtrip-20200911/external/simbio/calc_stiff_matrix_val.mexmaci64
Reason: image not found
FIX: copy the library from MNE python to /usr/local/lib
Error 2:
Invalid MEX-file
'/Users/alexander/Documents/MATLAB/fieldtrip-20200911/external/simbio/calc_stiff_matrix_val.mexmaci64':
dlopen(/Users/alexander/Documents/MATLAB/fieldtrip-20200911/external/simbio/calc_stiff_matrix_val.mexmaci64, 6):
Library not loaded: @rpath/libquadmath.0.dylib
Referenced from: /usr/local/lib/libgfortran.3.dylib
Reason: image not found
FIX: Repeat fix 1 for the missing library
Error 3:
Invalid MEX-file
'/Users/alexander/Documents/MATLAB/fieldtrip-20200911/external/simbio/calc_stiff_matrix_val.mexmaci64':
dlopen(/Users/alexander/Documents/MATLAB/fieldtrip-20200911/external/simbio/calc_stiff_matrix_val.mexmaci64, 6):
Symbol not found: ___addtf3
Referenced from: /usr/local/lib/libquadmath.0.dylib
Expected in: /usr/lib/libSystem.B.dylib
in /usr/local/lib/libquadmath.0.dylib
I don’t know how to fix this. I’m wondering whether the problem is that the OS isn’t letting third party programs write to /usr/lib.
More information about the fieldtrip
mailing list