ocaml-community / ocamlscript

Write an OCaml script, run an optimized executable
Boost Software License 1.0
74 stars 7 forks source link

Error: Unbound module Topdirs #19

Open UnixJunkie opened 7 months ago

UnixJunkie commented 7 months ago

Error I get if I try to run an ocamlscript under a 5.1.0 ocaml switch. It does not happen w/ earlier versions of ocaml.

UnixJunkie commented 7 months ago

Different problem w/ ocaml 5.0.0: File "ocamlscript_main.ml", line 1: Error: Cannot find file ~/.opam/5.0.0/lib/ocaml/threads.cmxa

UnixJunkie commented 7 months ago

problem does not happen w/ ocaml 4.14.1

UnixJunkie commented 7 months ago

Under ocaml 4.14.1: ocamlfind: [WARNING] Package `threads': Linking problems may arise because of the missing -thread or -vmthread switch