I installed XDarwin and GTK library on my OS X 10.1.5. But when I tried to compile a GTK program, I got the following errors:
[localhost:~/football] macmon% ./compile.sh
/usr/bin/ld: table of contents for archive: /usr/X11R6/lib/libgtk12.a is out of date; rerun ranlib(1) (can't load from it)
/usr/bin/ld: table of contents for archive: /usr/X11R6/lib/libgdk12.a is out of date; rerun ranlib(1) (can't load from it)
/usr/bin/ld: can't locate file for: -lgmodule12
What's the problem?