added a note about misconfiguration of CAML_LD_LIBRARY_PATH
This commit is contained in:
parent
ae1636cf45
commit
179fce4484
12
README.md
12
README.md
|
@ -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
|
environment of the toplevel. For that bind the function
|
||||||
`utop-edit-complete` to the key you want.
|
`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
|
Creating a custom utop-enabled toplevel
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue