resolved undefined reference to `lstat64`, `fstat64` on OpenBSD

/home/lsd/.opam/4.01.0/bin/ocamlrun:/home/lsd/.opam/4.01.0/lib/stublibs/dllcore_stubs.so: undefined symbol 'fstat64'
/home/lsd/.opam/4.01.0/bin/ocamlrun:/home/lsd/.opam/4.01.0/lib/stublibs/dllcore_stubs.so: undefined symbol 'lstat64'
Cannot load required shared library dllcore_stubs.
Reason: /home/lsd/.opam/4.01.0/lib/stublibs/dllcore_stubs.so: Cannot load specified object.