Hi
Over the last few days I had a some annoying issues which seem to be Opam related.
-
with using camlp5: “Fatal error: cannot load shared library dllpcre_stubs”, when camlp5 could not find sone libraries
Issues · camlp5/camlp5 · GitHub -
or with building dune: Error: “Missing mandir”, when Dune asked for lots of directories during the build process
Error: "Missing mandir" (dune install) · Issue #7814 · ocaml/dune · GitHub
This issues seems to be related by the lack of proper initialization of the OPAM environment.
This is usually done by calling source /Users/ben/.opam/opam-init/init.fish
or similar during shell initialization …
When you opam init
the appropriate line is inserted. I didn’t make that step, totally my fault
Maybee I can someone help to save some time and hair …
Ben