Dear all,
I’m experiencing a very strange behaviour.
I have an OCaml library that is used to build a plugin and a core component that is able to load this plugin
But if I install this library using opam
(opam install . --working-dir
) during the load of the plugin I get an error of implementation mismatch while if I install it using dune
(dune build && dune install
) it works like a charm.
Those are my build
and install
portion of the library opam file
build: [
["dune" "subst"] {pinned}
["dune" "-p" name "-j" jobs]
]
install: [
["dune" "build" "@install"]
["dune" "install" name]
]
Any suggestion?
Thanks,
Gabriele