Dear Freesurfer Experts, 


I am currently trying to run LGI. I have the 2017b Matlab version, Mac OS Sierra and I already set up the freesurfer PATH in Matlab. However, I am getting the following error after starting recon all -s localGI :


Dusans-MacBook-Pro:NSS_Analysis_01 dusan$ recon-all -s SP002 -localGI

Subject Stamp: freesurfer-Darwin-OSX-stable-pub-v6.0.0-2beb96c

Current Stamp: freesurfer-Darwin-OSX-stable-pub-v6.0.0-2beb96c

INFO: SUBJECTS_DIR is /Applications/freesurfer/subjects/NSS_Analysis_01

Actual FREESURFER_HOME /Applications/freesurfer

-rw-rw-r--  1 dusan  wheel  508655 Jul 29  2017 /Applications/freesurfer/subjects/NSS_Analysis_01/SP002/scripts/recon-all.log

Darwin Dusans-MBP 16.7.0 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64

/Applications/freesurfer/subjects/NSS_Analysis_01/SP002/surf

#--------------------------------------------

#@# Local Gyrification Index lh Sat Feb 10 21:59:13 CET 2018

\n mris_compute_lgi --i lh.pial \n

=================

rm -Rf /Applications/freesurfer/subjects/NSS_Analysis_01/SP002/surf/tmp-mris_compute_lgi-lh.pial

=================

=================

mkdir -p /Applications/freesurfer/subjects/NSS_Analysis_01/SP002/surf/tmp-mris_compute_lgi-lh.pial

=================

=================

mris_fill -c -r 1 lh.pial /Applications/freesurfer/subjects/NSS_Analysis_01/SP002/surf/tmp-mris_compute_lgi-lh.pial/lh.pial.filled.mgz

=================

reading surface from lh.pial...

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


dyld: Symbol not found: ___emutls_get_address

  Referenced from: /Applications/freesurfer/bin/../lib/gcc/lib/libgomp.1.dylib

  Expected in: /usr/lib/libSystem.B.dylib


Abort

ERROR: mris_fill -c -r 1 lh.pial /Applications/freesurfer/subjects/NSS_Analysis_01/SP002/surf/tmp-mris_compute_lgi-lh.pial/lh.pial.filled.mgz failed!

Darwin Dusans-MBP 16.7.0 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64



Any help would be greatly appreciated! Many thanks, Dusan