Hi List,
somehow I'm not able to statically link a labgtk application ... ?
To make things easy I'll use the simple example from http://www.ocaml-tutorial.org/introduction_to_gtk
$ ocamlopt -ccopt -static -I +lablgtk2 lablgtk.cmxa gtkInit.cmx simple.ml
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lgtk-x11-2.0
collect2: ld returned 1 exit status
Error during linking
I already tried using '-cclib /usr/lib/libgtk-x11-2.0.so' without success.
Any help is appreciated. Thanks !
--
Ingo Bormuth, voicebox & fax: +49-(0)-12125-10226517
public key 86326EC9, http://ibormuth.efil.de/contact
.