I need to use Sexplib in my program. I tried
ocamlc sexplib.cma prog.ml
Error: Unbound module Sexplib
and I got the error. But I can use Sexplib in top level if I load ppx_sexp_conv package first:
#require "ppx_sexp_conv";;
open Sexplib;;
So I also tried this:
ocamlfind ocamlc -package ppx_sexp_conv sexplib.cma prog.ml
Error: Error while linking /Users/neko/.opam/system/lib/sexplib/sexplib.cma(Sexplib):
The external function `caml_ba_get_1' is not available
I have no idea what this means and what I need to do now... Can anyone help?