AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
March 20, 2012 02:01PM
For those using the new OS X Lion binaries we are now compiling -- package macosx_10.7_Intel_64.tgz -- you need to be aware that the binaries come with several library files (*.dylib) that are needed for these programs to run. Lion will look for these libraries in the same directories from which they were linked to when I compiled the AFNI programs on our Lion build machine here. But it won't find them there, since these are not standard libraries installed by Apple.

To fix this, you must set the environment variable DYLD_LIBRARY_PATH to the name of the directory where you installed the AFNI binaries. For example, on my test system for Lion (which is not the compile system), I install the binaries in my home directory under a sub-directory named 'abin'. So I set DYLD_LIBRARY_PATH to $HOME/abin -- since I use the tcsh shell, I do this in my $HOME/.cshrc file with a line

setenv DYLD_LIBRARY_PATH $HOME/abin

If I used bash (shudder of repulsion goes here), then I would put this line in my $HOME/.bashrc file

export DYLD_LIBRARY_PATH=$HOME/abin

If you use some other shell (shrug of confusion goes here), you'll have to figure out what to do to set things up so that DYLD_LIBRARY_PATH is properly configured when you login.

If you don't do this, you'll get various messages (depending on which AFNI program you try to run), such as

% 3dAllineate -help
dyld: Library not loaded: /usr/local/lib/libgomp.1.dylib
  Referenced from: /Users/rwcox/abin/3dAllineate
  Reason: image not found
Trace/BPT trap

Unfortunately, I don't have static (*.a) version of these libraries, or I would link to those to save you this annoyance -- since in that case, copies of the needed functions would be directly loaded into the relevant AFNI binaries. I linked statically as far as possible, but ended up having to copy some extra dynamic libraries over into the Lion binaries archive -- thus the need for you to do this extra step. Hopefully just once.

-- ADVANCED USAGE SITUATION --
It is possible you have some other software package installed that also needs you to set DYLD_LIBRARY_PATH to one of its directories. If so, then you need to set this variable to be the list of library directories needed with colons ':' as separators, as in

setenv DYLD_LIBRARY_PATH $HOME/afnibin:$HOME/zorkonbin

It is also remotely possible that the AFNI *.dylib and the other software system have libraries that conflict with each other. In that case, you'll have to complain loudly (but very politely).

Subject Author Posted

OS X Lion binaries - DYLD_LIBRARY_PATH

Robert the Red March 20, 2012 02:01PM

Re: OS X Lion binaries - DYLD_LIBRARY_PATH

nick March 21, 2012 06:03AM

Re: OS X Lion binaries - DYLD_LIBRARY_PATH

bob cox March 21, 2012 08:58AM

Re: OS X Lion binaries - DYLD_LIBRARY_PATH

Peter Molfese March 21, 2012 10:01AM

Re: OS X Lion binaries - DYLD_LIBRARY_PATH

bob cox March 21, 2012 02:56PM

Re: OS X Lion binaries - DYLD_LIBRARY_PATH

Robert the Red March 21, 2012 04:27PM

Re: OS X Lion binaries - DYLD_LIBRARY_PATH

Peter Molfese March 21, 2012 03:04PM

Re: OS X Lion binaries - DYLD_LIBRARY_PATH

Frank Haist March 21, 2012 05:33PM

Re: OS X Lion binaries - DYLD_LIBRARY_PATH

nick March 22, 2012 05:08AM

Re: OS X Lion binaries - DYLD_LIBRARY_PATH

Colm Connolly March 22, 2012 12:13PM

Re: OS X Lion binaries - DYLD_LIBRARY_PATH

Frank Haist March 22, 2012 02:13PM

Re: OS X Lion binaries - DYLD_LIBRARY_PATH

Colm Connolly March 22, 2012 02:24PM

Re: OS X Lion binaries - DYLD_LIBRARY_PATH

Colm Connolly March 22, 2012 02:28PM

Re: OS X Lion binaries - DYLD_LIBRARY_PATH

Peter Molfese March 22, 2012 02:44PM

Re: OS X Lion binaries - DYLD_LIBRARY_PATH

Frank Haist March 23, 2012 02:04PM

Re: OS X Lion binaries - DYLD_LIBRARY_PATH

nick March 22, 2012 02:16PM

Re: OS X Lion binaries - DYLD_LIBRARY_PATH

bob cox March 23, 2012 09:19AM

Re: OS X Lion binaries - DYLD_LIBRARY_PATH

nick March 23, 2012 11:59AM

Re: OS X Lion binaries - DYLD_LIBRARY_PATH

bob cox March 23, 2012 04:50PM

Re: OS X Lion binaries - DYLD_LIBRARY_PATH

Tom March 23, 2012 02:12PM

Re: OS X Lion binaries - DYLD_LIBRARY_PATH

Tom March 23, 2012 04:37PM

Re: OS X Lion binaries - DYLD_LIBRARY_PATH

Anonymous User June 28, 2012 07:45PM

Re: OS X Lion binaries - DYLD_LIBRARY_PATH

rick reynolds June 28, 2012 08:02PM