From 179fce44845af3b758e589407ef04dab5f462988 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Dimino?= Date: Sat, 23 Feb 2013 12:13:36 -0500 Subject: [PATCH] added a note about misconfiguration of CAML_LD_LIBRARY_PATH --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index dc01c2e..36cf9ac 100644 --- a/README.md +++ b/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 `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 ---------------------------------------