dyld Library not loaded problem.

hi, I’m quite new to AFNI.
I once used AFNI maybe two years ago, and now try to use it agin.
I’m using 10.11 elCapitan mac OX, and followed below instruction : 1.1.5 Mac OS:The essential setup

https://afni.nimh.nih.gov/pub/dist/doc/htmldoc/background_install/install_instructs/steps_mac.html#make-afni-suma-profiles

but still have some problems.

testing ability to start various programs…
afni : success
suma : FAILURE
dyld: Library not loaded: /sw/lib/libglib-2.0.0.dylib
Referenced from: /Users/Yoojeong/abin/suma
Reason: image not found
3dSkullStrip : FAILURE
dyld: Library not loaded: /sw/lib/libglib-2.0.0.dylib
Referenced from: /Users/Yoojeong/abin/3dSkullStrip
Reason: image not found
uber_subject.py : success
3dAllineate : FAILURE
dyld: Library not loaded: /usr/local/lib/libgomp.1.dylib
Referenced from: /Users/Yoojeong/abin/3dAllineate
Reason: image not found
3dRSFC : success
SurfMesh : FAILURE
dyld: Library not loaded: /sw/lib/libglib-2.0.0.dylib
Referenced from: /Users/Yoojeong/abin/SurfMesh
Reason: image not found
3dClustSim : FAILURE
dyld: Library not loaded: /usr/local/lib/libgomp.1.dylib
Referenced from: /Users/Yoojeong/abin/3dClustSim
Reason: image not found

checking for R packages…
rPkgsInstall -pkgs ALL -check : success

checking for $HOME files…
.afnirc : found
.sumarc : found
.afni/help/all_progs.COMP : found

------------------------------ python libs -------------------------------
** python module not found: PyQt4
– PyQt4 is no longer needed for an AFNI bootcamp

-------------------------------- env vars --------------------------------
PATH = /usr/local/fsl/bin:/Library/Frameworks/Python.framework/Versions/3.5/bin:/sw/bin:/usr/local/fsl/bin:/Library/Frameworks/Python.framework/Versions/3.5/bin:/sw/bin:/usr/local/fsl/bin:/Library/Frameworks/Python.framework/Versions/3.5/bin:/sw/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Users/Yoojeong/abin:/Users/Yoojeong/abin:/Users/Yoojeong/bin:/Users/Yoojeong/abin:/Users/Yoojeong/abin:/Users/Yoojeong/bin:/Users/Yoojeong/abin:/Users/Yoojeong/abin:/Users/Yoojeong/bin:/Users/Yoojeong/abin

PYTHONPATH =
R_LIBS =
LD_LIBRARY_PATH =
DYLD_LIBRARY_PATH (sub-shell) = /opt/X11/lib/flat_namespace
DYLD_FALLBACK_LIBRARY_PATH (sub-shell) =

------------------------------ data checks -------------------------------
data dir : missing AFNI_data6
data dir : missing AFNI_demos
data dir : missing suma_demo
data dir : missing afni_handouts
atlas : found TT_N27+tlrc under /Users/Yoojeong/abin

------------------------------ OS specific -------------------------------
which fink : /sw/bin/fink
fink version : Package manager version: 0.41.1
which brew : /usr/local/bin/brew
brew version : Homebrew 0.9.9 (git revision b955; last commit 2016-05-31)

++ found ‘brew’ at /usr/local/bin/brew
– for PyQt4 under fink, consider running:
sudo fink install pyqt4-mac-py27
++ found 1 dylib files under ‘/opt/X11/lib/flat_namespace’
– found ‘libXt’ dylib files:
/opt/X11/lib/flat_namespace/libXt.6.dylib
– recent OS X, cheating to check DYLD_LIBRARY_PATH in cur shell ‘bash’…
++ found evar DYLD_LIBRARY_PATH = /opt/X11/lib/flat_namespace
– recent OS X, cheating to check DYLD_LIBRARY_PATH in shell ‘tcsh’…
++ found evar DYLD_LIBRARY_PATH = /opt/X11/lib/flat_namespace

========================= summary, please fix: =========================

  • login shell ‘bash’, trusting user to translate from ‘tcsh’
  • shell bash: consider sourcing (non-login) .bashrc from (login) .profile
  • AFNI programs show FAILURE
  • insufficient data for AFNI bootcamp

And, when I tired to update via suma -update_env,
I got a message, like:

Yuzus-MacBook-Pro:~ Yoojeong$ suma -update_env
dyld: Library not loaded: /sw/lib/libglib-2.0.0.dylib
Referenced from: /Users/Yoojeong/abin/suma
Reason: image not found
Trace/BPT trap: 5

how can I fix this problem? thanks a lot !

Yuzu

Hi Yuzu,

It might be easier to use the local package. Try to
replace yours by running:

@update.afni.binaries -package macosx_10.7_local

Then see what “afni_system_check.py -check_all” says.

  • rick