Not sure why you are still getting this error. Did glib install properly with fink? What do you get with:
fink list glib
You should have a couple lines like this:
i glib 1.2.10-52 Common C routines used by Gtk+ and other libs
glib-pm5100 1.222-1 Glib:: perl module (bindings for glib2)
glib-pm588 1.222-1 Glib:: perl module (bindings for glib2)
i glib-shlibs 1.2.10-52 Common C routines used by Gtk+ and other libs
(i) glib2-dev 2.22.4-5 Handy library of utility functions
(i) glib2-shlibs 2.22.4-5 Handy library of utility functions
glibmm2.4 2.22.2-2 OBSOLETE: use package 'glibmm2.4-dev' instead
glibmm2.4-dev 2.22.2-2 C++ interface for the glib2 library
glibmm2.4-shlibs 2.22.2-2 C++ interface for the glib2 library
jakarta-taglibs-standard 1.1.2-4 JSP tag libraries
(i) libavahi-glib1-dev 0.6.30-1 Service discovery system (Glib)
(i) libavahi-glib1-shlibs 0.6.30-1 Service discovery system (Glib)
If there are no 'i's next to the glib and glib-shlibs, you can try:
sudo fink install glib
If you still can't get the glib libraries to install or don't want to try, just use the no_glib version of AFNI available at this link, but that version hasn't been updated for a few months:
http://afni.nimh.nih.gov/pub/dist/tgz/macosx_10.6_Intel_64.no.glib.tgz
[EDIT]
Rick noticed the wrong architecture probably means you've installed the 32-bit version of fink by mistake and not the 64-bit version. Go through the installation instructions again and be careful to choose 64-bit when asked in the fink installation.
Edited 1 time(s). Last edit at 02/19/2013 04:43PM by Daniel Glen.