From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 642E2BB84 for ; Tue, 11 Jul 2006 20:14:44 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id k6BIEhlT005722 for ; Tue, 11 Jul 2006 20:14:43 +0200 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id UAA15326 for ; Tue, 11 Jul 2006 20:14:43 +0200 (MET DST) Received: from hedwig1.umh.ac.be (hedwig2.umh.ac.be [193.190.193.73]) by nez-perce.inria.fr (8.13.6/8.13.6) with ESMTP id k6BIEeKf022123 for ; Tue, 11 Jul 2006 20:14:42 +0200 Received: from poincare.swapping.umh.ac.be (mathwifi.swapping.umh.ac.be [10.102.100.203]) by hedwig1.umh.ac.be (8.13.6/8.13.6) with ESMTP id k6BIGRnI1446050; Tue, 11 Jul 2006 20:16:28 +0200 Received: from localhost ([127.0.0.1]) by poincare.swapping.umh.ac.be with esmtp (Exim 4.62) (envelope-from ) id 1G0Mkf-0004gZ-He; Tue, 11 Jul 2006 20:14:29 +0200 Date: Tue, 11 Jul 2006 20:14:29 +0200 (CEST) Message-Id: <20060711.201429.245541912.Christophe.Troestler@umh.ac.be> To: christos.jonathan.hayward@gmail.com Cc: "O'Caml Beginners Mailing List" , "O'Caml Mailing List" Subject: Re: [Caml-list] "Hello web" please From: Christophe TROESTLER In-Reply-To: References: <20060711.164249.72518146.Christophe.Troestler@umh.ac.be> X-Face: #2fb%mPx>rRL@4ff~TVgZ"<[:,oL"`TUEGK/[8/qb58~C>jR(x4A+v/n)7BgpEtIph_neoLKJBq0JBY9:}8v|j Organization: Universite de Mons-Hainaut (http://math.umh.ac.be/an/) X-Spook: hackers Manfurov offensive information warfare MDA Saddam Hussein MD2 cracking AMW Ft. Meade SCUD missile X-Blessing: Om Ah Hum Vajra Guru Pema Siddhi Hum X-Operating-System: Debian GNU/Linux (http://www.debian.org/) X-Mailer: Mew version 4.2.52 on Emacs 22.0.50 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.1 (www dot roaringpenguin dot com slash mimedefang) X-Miltered: at concorde with ID 44B3EA93.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 44B3EA90.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; christophe:01 troestler:01 christophe:01 troestler:01 umh:01 runtime:01 bytecode:01 ocamlrun:01 ocaml:01 dllpcre:01 stubs:01 dllpcre:01 stubs:01 ocaml:01 beginners:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 On Tue, 11 Jul 2006, "Jonathan Hayward" 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