Version française
Home     About     Download     Resources     Contact us    
Browse thread
"Hello web" please
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Christophe TROESTLER <Christophe.Troestler@u...>
Subject: Re: [Caml-list] "Hello web" please
On Tue, 11 Jul 2006, "Jonathan Hayward" <christos.jonathan.hayward@gmail.com> wrote:
> 
> Thank you; it seems to compile now, but it's crashing (runtime); there's a
> library installed on my system that it's not picking up.

The way it is, the script is NOT compiled, it is interpreted.  I
recommend you compile it to bytecode
(http://caml.inria.fr/pub/docs/manual-ocaml/manual022.html) or native
code (http://caml.inria.fr/pub/docs/manual-ocaml/manual025.html)
however.

> jonathan@inner-sanctum:~/csi/ml$ ocamlrun ocaml ./demo.ml
> Cannot load required shared library dllpcre_stubs.
> Reason: dllpcre_stubs.so: cannot open shared object file: No such file or
> directory.

I do not have that problem (get Debian :).  Does the script run from
the command line?  Maybe setting the environment variable
LD_LIBRARY_PATH can help?

I propose to continue this conversation on the beginner mailing list
(http://groups.yahoo.com/group/ocaml_beginners/) to which I also sent
this message.

ChriS