First run:
which afni
Then, making sure that you are in your home directory (the cd with nothing after it), take the result of "which afni" (something like ~/abin) and add it to your .bashrc (done here with echo and >>). I also link the bashrc and profile as some OS X programs automatically load one but not the other (or used to).
cd
echo "export DYLD_FALLBACK_LIBRARY_PATH=~/abin >> .bashrc
ln -s .bashrc .profile
You will need to close that terminal window and open a new one for the changes to take place.
Hope that helps!
Edited 1 time(s). Last edit at 07/17/2013 06:54PM by Peter Molfese.