added a note about misconfiguration of CAML_LD_LIBRARY_PATH

This commit is contained in:
Jérémie Dimino 2013-02-23 12:13:36 -05:00
parent ae1636cf45
commit 179fce4484
1 changed files with 12 additions and 0 deletions

View File

@ -114,6 +114,18 @@ You can also complete text in a tuareg or typerex buffer using the
environment of the toplevel. For that bind the function
`utop-edit-complete` to the key you want.
Common error
------------
If you get this error when running utop in a terminal or in emacs this
means that the environment variable `CAML_LD_LIBRARY_PATH` is not set
correctly:
Fatal error: cannot load shared library dlllwt-unix_stubs
Reason: dlopen(dlllwt-unix_stubs.so, 138): image not found
It shall point to the directory `stublibs` inside your ocaml installation.
Creating a custom utop-enabled toplevel
---------------------------------------