Can't update AFNI on Mac

I’m having trouble updating an old version of AFNI on an iMac running 10.12.6.
I downloaded a recent version of @update.afni.binaries from https://afni.nimh.nih.gov/pub/dist/bin/linux_openmp_64/@update.afni.binaries and get the following error. Grateful for any help.

m

@update.afni.binaries -defaults -package macos_10.12_local
– have AFNI binaries under /Users/mworden/abin
– install dir: using existing /Users/mworden/abin
– attempting to install package macos_10.12_local under
install dir: /Users/mworden/abin…
– have install dir
nuking old temporary directory…
++ working in new temp dir, .tmp.install
++ getting install prog macos_10.12_local/@update.afni.binaries
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 262 100 262 0 0 2333 0 --:–:-- --:–:-- --:–:-- 2339
** failed, trying linux_openmp_64/@update.afni.binaries
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 260 100 260 0 0 5347 0 --:–:-- --:–:-- --:–:-- 5416
** failed again, skipping check for new installer
++ downloading test file macos_10.12_local/afni …
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 245 100 245 0 0 5276 0 --:–:-- --:–:-- --:–:-- 5212

++ update needed, installing…

++ downloading full macos_10.12_local.tgz package…
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 244 100 244 0 0 5010 0 --:–:-- --:–:-- --:–:-- 5083
++ extracting package macos_10.12_local…

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
** failed to extract package macos_10.12_local.tgz

Hi m,

You are not actually using the newly downloaded file, but the one in your path (which might be old enough to not have the newer https links in it). Go to the directory where it was downloaded to and run it explicitly with ‘tcsh’, as in:

tcsh @update.afni.binaries -defaults -package macos_10.12_local

Thanks,

  • rick

Rick, thanks for your help. I had downloaded the updated version to my afni bin directory and was pretty sure that was what was being run but I downloaded again to a different directory and got somewhat further. I now seem to have a library incompatibility I don’t know how to solve:

++ running apsearch -update_all_afni_help …
dyld: Library not loaded: /opt/X11/lib/libfontconfig.1.dylib
Referenced from: /Users/mworden/abin/apsearch
Reason: Incompatible library version: apsearch requires version 11.0.0 or later, but libfontconfig.1.dylib provides version 10.0.0
Abort

Do I need to update XQuartz on my Mac? I am running 2.7.8.

Mike

Oh sorry, Daniel pointed out that the 10.7 was not your OS version, so I should re-write this response.

It does seem that our build machine uses a newer version of XQuartz than you use (which provides the libraries under /opt/X11/lib), so yes, it does look like you might want to update XQuartz, if that is okay.

Thanks,

  • rick

Updated XQuartz and all is well. Thanks for your help!

hi expert

i have some problem using AFNI on local mac and remote server

i have to use xquartz version 2.7.8 in local because to use remote server software

but if i use 2.7.8 xquartz, i can’t use AFNI in local

( when i had update xquartz version from 2.7.8 to 2.7.11, local AFNI was worked but i can’t use remote server software)

can i get AFNI installer that use xquartz version 2.7.8?

here is error log when i use AFNI in local (xquartz version 2.7.8)

iMac:X11 $ afni
dyld: Library not loaded: /opt/X11/lib/libfontconfig.1.dylib
Referenced from: /Users/temp/abin/afni
Reason: Incompatible library version: afni requires version 11.0.0 or later, but libfontconfig.1.dylib provides version 10.0.0
Abort trap: 6

thanks you

Hello Im having the same problem. how did you solve it?

If possible, would you please post the command that you are running, along with the text output that includes the error?

Thanks,

  • rick