If I understand correctly, you're having trouble running freesurfer binaries from within matlab, right? Is freesurfer fully sourced in your MATLAB environment? I’m guessing this is an issue with your DYLD_LIBRARY_PATH not being set, but it's possible there are other issues going on. You should check to see if the DYLD_LIBRARY_PATH environment variable in your MATLAB shell matches what you see in the terminal after sourcing freesurfer. Also, are you using 6.0?
Best, Andrew
________________________________________ From: freesurfer-bounces@nmr.mgh.harvard.edu freesurfer-bounces@nmr.mgh.harvard.edu on behalf of Miguel Ángel Rivas Fernández miguelrivasfdez@gmail.com Sent: Friday, February 7, 2020 6:17 AM To: Freesurfer support list Subject: [Freesurfer] freesurfer error in matlab
External Email - Use Caution
Dear Freesurfer devs,
I am trying to run FreeSurfer in Matlab and I received the following error message
dyld: lazy symbol binding failed: Symbol not found: ___emutls_get_address Referenced from: /Applications/freesurfer/bin/../lib/gcc/lib/libgomp.1.dylib Expected in: /usr/lib/libSystem.B.dylib
I tried to fix this error disabling the SIP but this did not work. Maybe could be due to the gcc compiler?
Any help would be appreciated
Thanks in advance
Best regards,
-- Miguel Ángel Rivas Fernández