Bhuvana R wrote: > Hi, > > I have an iMAC Version 10.5.6. Installed fink 0.9.0. I have no Xcode and > my X11 is 2.1.1. I am trying to install AFNI and I see the following > error. > dyld: Library not loaded: /usr/X11/lib/libpng12.0.dylib > Referenced from: /usr/bin/afni/abin/afni > Reason: Incompatible library version: afni requires version > 27.0.0 or later, but libpng12.0.dylib provides version 25.0.0 > Trace/BPT trap > > I did a find -name and found two copies of libpng12.0.dylib. While the one > in /usr/X11/lib is of version 25.0.0, the one in > /sw/lib/ is version 27.0.0. How can I make AFNI read the dylib file on > /usr/lib? Please help. > > > Thanks! > AFNI isn't a Fink package. You didn't build AFNI if you don't have Xcode, and therefore your Fink libraries shouldn't be playing a role.
Moreover, even if the dynamic linker somehow found Fink's library, that one is of the _right_ version. Your message indicates that your executable _didn't_ find fink's. Why this error is occurring is presumably that whomever built the package used a later version of X11 than yours, and therefore has a later libpng12.0.dylib than yours. I assume you mean /sw/lib rather than /usr/lib above. Check the man page for "install_name_tool", which will indeed let you point to the later libpng12.0.dylib -- Alexander Hansen Fink User Liaison ------------------------------------------------------------------------------ _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
