compilation error on snow leopard

Yoann Padioleau <[email protected]> Fri, 8 Oct 2010 13:33:50 -0700
Newsgroups gmane.comp.lang.ocaml.lib.gtk
Message-ID <[email protected]>
Hi,

Someone trying to compile one of my project using lablgtk has some problems compiling lablgtk:

The compilation error is:
ocamlc.opt   -w s -c gtkThInit.ml
ocamlmktop  -thread  -o lablgtktop unix.cma threads.cma  \
       -I . lablgtk.cma gtkThread.cmo
File "_none_", line 1, characters 0-1:
Error: Error on dynamically loaded library: ./dlllablgtk2.so: dlopen(./dlllablgtk2.so, 138): Symbol not found: _gtk_major_version
  Referenced from: /Users/brbrooks/Downloads/lablgtk-2.14.2/src/dlllablgtk2.so
  Expected in: flat namespace
 in /Users/brbrooks/Downloads/lablgtk-2.14.2/src/dlllablgtk2.so
make[1]: *** [lablgtktop] Error 2
make: *** [all] Error 2

The full trace is available here:

http://github.com/facebook/pfff/issues/2#issue/2/comment/457089

Any idea ?