Hi, guys:
I’m new to learn AFNI.
My Mac OS X is 10.7.5 and Shell is tcsh.
When I try to setup and give command:
echo ‘set path = ( $path $HOME/abin )’ >> .cshrc
echo ‘setenv DYLD_FALLBACK_LIBRARY_PATH $HOME/abin’ >> .cshrc
source .cshrc
it shows error below:
dyld: Symbol not found: _iconv
Referenced from: /usr/lib/libcups.2.dylib
Expected in: /Users/PRLAB/abin/libiconv.2.dylib
in /usr/lib/libcups.2.dylib
if: Expression Syntax.
Same message will occur everytime when I restart my terminal.
When I give “@update.afni.binaries -defaults -package macosx_10.7_local”
it showed
dyld: lazy symbol binding failed: Symbol not found: _iconv_open
Referenced from: /bin/tcsh
Expected in: /Users/PRLAB/abin/libiconv.2.dylib
dyld: Symbol not found: _iconv_open
Referenced from: /bin/tcsh
Expected in: /Users/PRLAB/abin/libiconv.2.dylib
Trace/BPT trap
It seems like something wrong with library or path, which in turn make AFNI find nothing or wrong way to install.
Would you plz give some advice to fix it?
Thanks a lot!
Change DYLD_LIBRARY_PATH to be /opt/X11/lib/flat_namespace
(in your .cshrc file), and open a new terminal. It needs to point
to that directory because of the XQuartz version of libXt.
You can close your current terminal window(s), or adjust
it there, too:
Also, the DYLD_FALLBACK_LIBRARY_PATH variable
should not be needed for the local version of binaries.
Actually, I am not positive whether you need flat_namspace
in 10.7. After making these changes, try running suma, or
report the output from:
afni_system_check.py -check_all
rick
The
National Institute of Mental Health (NIMH) is part of the National Institutes of
Health (NIH), a component of the U.S. Department of Health and Human
Services.