You probably need to #load the library first. https://caml.inria.fr/pub/docs/manual-ocaml/toplevel.html#sec294
Best,
Alan