Lablgtk2 and gtk-osx

Aaron Bohannon <[email protected]> Sat, 19 Sep 2009 14:45:58 -0400
Newsgroups gmane.comp.lang.ocaml.lib.gtk
Message-ID <[email protected]>
I read that it is possible to install Lablgtk2 with gtk-osx:
http://yquem.inria.fr/pipermail/lablgtk/2009-January/000265.html
I set my PKG_CONFIG_PATH as described, but the configure script of
Lablgtk2 fails.  I have put the most relevant part of the config.log
file below.  I am running OS X 10.6 on an Intel Core Duo 2 MacBook
Pro.  Does anyone have an idea of what might be wrong?

 - Aaron

configure:3469: checking for pkg-config
configure:3487: found /usr/local/bin/pkg-config
configure:3500: result: /usr/local/bin/pkg-config
configure:3522: checking for GTK+ - version >= 2.0.0
configure:3642: gcc -o conftest -g -O2
-I/Library/Frameworks/Cairo.framework/Headers
-I/Library/Frameworks/GLib.framework/Headers
-I/Library/Frameworks/Gtk.framework/Headers     conftest.c
-L/Library/Frameworks/Cairo.framework/Resources/dev/lib
-L/Library/Frameworks/GLib.framework/Resources/dev/lib
-L/Library/Frameworks/Gtk.framework/Resources/dev/lib -lGtk -lCairo
-lGLib    >&5
ld: warning: in
/Library/Frameworks/Gtk.framework/Resources/dev/lib/libGtk.dylib, file
is not of required architecture
ld: warning: in
/Library/Frameworks/Cairo.framework/Resources/dev/lib/libCairo.dylib,
file is not of required architecture
ld: warning: in
/Library/Frameworks/GLib.framework/Resources/dev/lib/libGLib.dylib,
file is not of required architecture
Undefined symbols:
  "_gtk_major_version", referenced from:
      _main in ccaC7HCY.o
  "_gtk_minor_version", referenced from:
      _main in ccaC7HCY.o
      _main in ccaC7HCY.o
  "_g_strdup", referenced from:
      _main in ccaC7HCY.o
  "_gtk_micro_version", referenced from:
      _main in ccaC7HCY.o
      _main in ccaC7HCY.o
      _main in ccaC7HCY.o
ld: symbol(s) not found
collect2: ld returned 1 exit status