I cannot get a locally compiled library (from https://github.com/selectel/alberto) into utop, here is my session:
Welcome to utop version 2.0.1 (using OCaml version 4.05.0)! Findlib has been successfully loaded. Additional directives: #require "package";; to load a package #list;; to list the available packages #camlp4o;; to load camlp4 (standard syntax) #camlp4r;; to load camlp4 (revised syntax) #predicates "p,q,...";; to set these predicates Topfind.reset();; to force that packages will be reloaded #thread;; to enable threads utop was built without camlp4 support. utop> open Core;; utop> #load "/home/jon/app/ocaml-jbuilder/_build/default/alberto/src/alberto.cmo";; utop> open Alberto;; Error: Unbound module Alberto utop>
Needless to say the module name “Alberto” is correct, and my code using that module name compiles successfully.
Can anyone explain the problem / fix?