2012/4/12 Stéphane Glondu > Le 12/04/2012 14:30, Philippe Veber a écrit : > > While playing with the upcoming features of our favorite compiler, I > > found that the current trunk and version/4.00 branch do not work well > > with findlib (version 1.2.8). I report it here so others might confirm > > (or not) what I say. > > > > OCaml version 4.01.0+dev1_2012-03-31 > > > > # #use "topfind";; > > - : unit = () > > File "/home/pveber/usr/ocamlbrew/ocaml-svn/trunk/lib/ocaml/topfind", > > line 37, characters 0-22: > > Error: Unbound module Topfind > > > > What is really surprising is that the toplevel doesn't complain if I > > copy/paste the contents of topfind directly in the compiler: > > [...] > > It works if you execute (replace /usr/lib/ocaml by `ocamlc -where`) > > #directory "/usr/lib/ocaml/findlib";; > > before calling > > #use "topfind";; > Indeed, it works fine with that trick. Thanks ! > > The #directory is present in /usr/lib/ocaml/topfind, but it seems that > now, they don't have immediate effect. > Yes, that is a really surprising issue for me. Thanks again, ph.