Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] shared libraries [pcre-ocaml]
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Richard Nyberg <rnyberg@i...>
Subject: Re: [Caml-list] shared libraries [pcre-ocaml]
> It seems to me that you hadn't set the environment variable
> "OCAML_LIB_INSTALL" to your installation directory before "make"ing the
> library, i.e. it's default is "+contrib" now:

No I didn't, and I cannot understand how I managed to miss it!
I will rebuild it immediately. Thanks!!!

> [snip]
> > access("/usr/local/lib/ocaml/contrib/",0) ERR#2 'No such file or directory'
> [snip]
> The path leading to this directory is added to the generated OCaml-library
> so that it can find the shared C-library. Usually things should also work
> when you set your LD_LIBRARY_PATH appropriately in your shell or even add
> this path to your global /etc/ However, the preferred solution
> is surely to let the library now where to find things it depends on.

Definitely :)

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: