External Email - Use Caution        

Hello Lingyan,

You can download an updated Mac freesurfer distribution from the following link,
https://drive.google.com/file/d/1v2WwPg68id42NqfMeBTI3zijjto69_C1/view?usp=sharing

After the download, you can uncompress the freesurfer_Mac.zip archive and put the freesurfer tree anywhere as long as you change the FREESURFER_HOME environment variable to point to it.  Then you would run the freesurfer script to setup the environment using that location. 

For example, you can put the ./freesurfer tree under your home directory which you always have privileges to read/write to.

$ cd $HOME
$ pwd
/Users/lwang  <— I am making up this path for this example

.. then uncompress the zip archive in to your home directory, here assuming the archive was downloaded into your Downloads folder,

$ unzip -d $HOME  $HOME/Downloads/freesurfer_Mac.zip

… then in Bourne shell or bash shell you could do…. 

$ export FREESURFER_HOME=$HOME/Mac/freesurfer

… and then to setup the environment…

$ source $FREESURFER_HOME/SetUpFreeSurfer.sh

Then you should no longer see the lazy evaluation error or be concerned with doing an install that needs admin privileges or whether or not SIP is on/off.
(Setup instructions for the environment are also here, https://surfer.nmr.mgh.harvard.edu/fswiki/DownloadAndInstall)

- R.

On Apr 19, 2019, at 15:17, Wang, Lingyan <Lingyan.Wang@bcm.edu> wrote:

        External Email - Use Caution        

Hi,

I had this lazy binding problem described in the FS6 releasenotes and couldn't solve it. 

This is the error message I got when using @SUMA_Make_Spec_Fs:
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

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

And I've disabled SIP.

When I tried use sudo -E fs_update, here is the message I got:
Build is freesurfer-Darwin-OSX-stable-pub-v6.0.0-2beb96c

   Running this will update some of your freesurfer binaries.

 Shall I proceed? [y/n/Abort]: y

rsync -zbrlv --progress --suffix=.1555625828_bak rsync://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/patches/freesurfer-Darwin-OSX-stable-pub-v6.0.0-2beb96c/* /Applications/freesurfer
receiving file list .... 
rsync: change_dir "/dist/freesurfer/patches/freesurfer-Darwin-OSX-stable-pub-v6.0.0-2beb96c" (in pub) failed: No such file or directory (2)
0 files to consider

sent 4 bytes  received 9 bytes  26.00 bytes/sec
total size is 0  speedup is 0.00
rsync error: some files could not be transferred (code 23) at /BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-51/rsync/main.c(1404) [receiver=2.6.9]

The MacOS system is macOS Sierra 10.12.5 and freesurfer is 
freesurfer-Darwin-OSX-stable-pub-v6.0.0-2beb96c

I was wondering if you have any suggestions to fix this problem. Many thanks!


Wang, Lingyan 
Yau Lab
Department of Neuroscience
Baylor College of Medicine

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
MailScanner has detected a possible fraud attempt from "mail.nmr..mgh.harvard.edu" claiming to be https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer