I have a large OCaml project that I am compiling with ocamlbuild. Everything works just fine, I have a great executable that does everything I want. The problem is that when I take this own executable file "my_prog.native" and run it somewhere else (another machine with the same operating system, etc.), the new machine complains that it cannot find a daisy (which is used in batteries the library that I use). I thought that the executable we received from ocamlbuild was standalone and did not require OCaml or Camomile to be present in the machine where we ran it, but this does not seem to be the case.
Any ideas on how to create truly standalone executables?
ocaml ocamlbuild
Surikator
source share