Dear Nicolas,
Hello,
Binaries compiled with OCaml 4 aren't compatible with binaries
compiled with OCaml 3.
As such, you should compile both program and library with the same
(major) version of OCaml and use the appropriate debugger.
Regards,
Nicolas