[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#601297: #601297 - libcairo-ocaml-dev: Cannot compile programs due to outdated cairo-ocaml-dev



On 10/25/2010 12:33 PM, Evgeni Golov wrote:
> Hi,
> 
> this works for me. Could you provide an example that fails?
> 
> I tried the following on Sid/amd64 and Squeeze/i386:
> 1. apt-get install libcairo-ocaml-dev
> 2. wget http://cgit.freedesktop.org/cairo-ocaml/plain/test/cube.ml
> 3. ocamlopt -o cube -I /usr/lib/ocaml/cairo/ -I /usr/lib/ocaml/lablgtk2
> lablgtk.cmxa cairo.cmxa cairo_lablgtk.cmxa gtkInit.cmx cube.ml
> 4. ./cube
> 
> (3. is copied from test/Makefile of cairo-ocaml git)

Ok, sorry, what actually fails is:
% ocamlc -o cubec -I /usr/lib/ocaml/cairo/ -I /usr/lib/ocaml/lablgtk2
lablgtk.cma cairo.cma cairo_lablgtk.cma gtkInit.cmo cube.ml
File "cube.ml", line 1, characters 0-1:
Error: Error on dynamically loaded library:
/usr/lib/ocaml/stublibs/dllmlcairo.so:
/usr/lib/ocaml/stublibs/dllmlcairo.so: undefined symbol: caml_ba_byte_size





Reply to: