Problem with pycaml in Ubuntu
[ Please CC me, as I'm not subscribed ]
Hello,
first I'm no OCaml user but only an Ubuntu MOTU trying to fix a bug in
pycaml in Ubuntu hardy.
I was preparing a stable update of pycaml for Ubuntu hardy (to fix the
uninstallability problem as it didn't build with python2.5). I took the
patch from pycaml 0.82-8 and got it successfully build in hard.
But when I did a simple test if the package works, I failed. I tried to
run "pycamltop" from the package and got:
$ pycamltop
Fatal error: cannot load shared library dllpycaml_stubs
Reason: dllpycaml_stubs.so: cannot open shared object file: No such file or directory
Looking with strace I saw that it looked for
/usr/lib/ocaml/3.10.0/stublibs/dllpycaml_stubs.so but not for
/usr/lib/ocaml/3.10.0/dllpycaml_stubs.so where it got installed by the
package.
Manually moving it to the stublibs/ dir "fixed" it.
I could reproduce this with pycaml 0.82-8 (build with OCaml 3.10.2) in
a intrepid chroot. But as I don't have a Debian unstable chroot, I
couldn't check if Debian has the same problem.
Any suggestion how to fix this properly?
BTW: pycaml seems to be missing a dependency on ocaml-interp as without
it get the following error, when I try to run pycamltop (after I fixed
the problem with the dllpycaml_stubs.so):
$ pycamltop
Objective Caml version 3.10.0
>> Fatal error: cannot open pervasives.cmi
Fatal error: exception Misc.Fatal_error
TIA,
Michael
Reply to: