Static OCaml Binaries

J. Wied 2025-01-18 Static OCaml Binaries When compiling OCaml files with -ccopt -static you might get the following warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking This can be fixed by the following steps: install musl ( musl-bootstrap on VoidLinux) create a static switch: opam switch create 5.3.0+static…