I'm confused by symbols Chapter3>
in your code. Where did you get it? Is it some kind of top-level? General procedure of loading modules into toplevel is:
$ eval `opam config env`
$ opam install llvm
$ ocaml
# #use "topfind";;
# #require "llvm";;
# open Llvm;;
Update
Custom toplevel contains some C functions which are not loaded into default OCaml toplevel. They are linked into it. I think if you add -verbose
option to ocamlfind
invocation you will see some LLVM-specific linking options.