Can't compile with cairo2

"Sébastien Dailly [email protected] [ocaml_beginners]" <[email protected]>
Newsgroups gmane.comp.lang.ocaml.beginners
Message-ID <[email protected]>
Hello,

I just installed cairo2 from opam, but when I try to compile some code I 
got a link error :

> $ ocamlfind ocamlc -package cairo2 test.ml
> File "test.ml", line 1:
> Error: Error while linking test.cmo:
> The external function `caml_cairo_image_surface_create' is not available

Is there an external dependency required ? (package libcairo2 and 
libcairo2-dev are installed)

Thanks !
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.