I got GAIM (the GTK+ based AIM compliant Real Time Chat Client) to compile in OS X by making the following modifications to the normal installation process:
use the '--disable-perl' flag for the configure script. This is because the libraries included by the perl support unfortunately conflict with the libdl.dylib. Hopefully someone will find a way around this.
After configure has finished point your favorite editor at plugins/Makefile and change line 315 from:
@cp .libs/libtmp$@.so* $@to
@cp .libs/libtmp$@.dylib* $@This will deal with OS X's use of the dylib suffix instead of good old .so when using libtool to build plugins.
Mac OS X Hints
http://hints.macworld.com/article.php?story=20020124001058576