Hi Manoj,

This probably has to do with SIP being enabled, which blocks libraries stored in /usr. I would suggest disabling SIP and rerunning to see if that fixes things:
http://osxdaily.com/2015/10/05/disable-rootless-system-integrity-protection-mac-os-x/

best,
Andrew


On Jan 16, 2018, at 2:59 AM, Manoj Kumar <vermanojk@gmail.com> wrote:

Hello Dear FreeSurfer Experts,

I am trying to run "recon-all -s subject  -localGI" command on my Mac bash terminal. I am getting following error.

I am using using Freesurfer V 6.0 and running on MacOS High Sierra (version 10.13)

I also run the istallation update :"sudo -E fs_update" as per suggestion on the release note but still getting same error.

Any help to resolve this issue would be greatly appreciated.
Thank you so much for all your help and support.

Best regards
Manoj

***************************************************************
Manojs-iMac:cases manojkumar$ export SUBJECTS_DIR=/Users/manojkumar/fs_dmd_process/cases/HRUDAY/bert/surf
Manojs-iMac:cases manojkumar$ cd $SUBJECTS_DIR
Manojs-iMac:surf manojkumar$ mris_compute_lgi --i lh.pial
=================
rm -Rf /Users/manojkumar/fs_dmd_process/cases/HRUDAY/bert/surf/tmp-mris_compute_lgi-lh.pial
=================
=================
mkdir -p /Users/manojkumar/fs_dmd_process/cases/HRUDAY/bert/surf/tmp-mris_compute_lgi-lh.pial
=================
=================
mris_fill -c -r 1 lh.pial /Users/manojkumar/fs_dmd_process/cases/HRUDAY/bert/surf/tmp-mris_compute_lgi-lh.pial/lh.pial.filled.mgz
=================
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 /Users/manojkumar/fs_dmd_process/cases/HRUDAY/bert/surf/tmp-mris_compute_lgi-lh.pial/lh.pial.filled.mgz failed!
Manojs-iMac:surf manojkumar$ 
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer