From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id NAA09428; Sat, 8 Nov 2003 13:29:40 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id NAA09503 for ; Sat, 8 Nov 2003 13:29:39 +0100 (MET) Received: from igloo.phubuh.org (c-70b670d5.028-10-67766c2.cust.bredbandsbolaget.se [213.112.182.112]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id hA8CTb128340 for ; Sat, 8 Nov 2003 13:29:38 +0100 (MET) Received: from igloo.phubuh.org (localhost [127.0.0.1]) by igloo.phubuh.org (Postfix) with ESMTP id A10A0535E2 for ; Sat, 8 Nov 2003 13:29:07 +0100 (CET) To: caml-list@inria.fr Subject: Re: [Caml-list] Re: mod_caml 1.0.0 and O'Caml 3.07+2 - problem with caml_mutex_new References: <20031108114718.61FE9535DE@igloo.phubuh.org> <20031108120804.GA7957@redhat.com> From: Mikael Brockman Date: 08 Nov 2003 13:29:07 +0100 In-Reply-To: <20031108120804.GA7957@redhat.com> Message-ID: <87ekwjqc18.fsf@igloo.phubuh.org> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 3.07:01 1.0.0,:01 3.07:01 libcamlrun:01 non-standard:01 usr:01 ioa:99 usr:01 threads:01 threads:01 ocaml:01 ocaml:01 caml:01 caml:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Richard Jones writes: > On Sat, Nov 08, 2003 at 12:47:18PM +0100, Mikael Brockman wrote: > > I'm using Apache 1.3.29, mod_caml 1.0.0, and O'Caml 3.07+2, and > > getting this error on startup of Apache: > > > > Syntax error on line 59 of /etc/apache/conf/apache.conf: Cannot load > > /etc/apache/modules/mod_caml.so into server: > > /etc/apache/modules/mod_caml.so: undefined symbol: caml_mutex_new > > > > Line 59 is the call to LoadModule for mod_caml.so. > > Do you know what library contains this symbol? I'm using OCaml 3.07 > from Debian/unstable, and my libcamlrun.a doesn't contain this > symbol. Are you using any non-standard OCaml libraries? > > Rich. > $ find /usr/lib/ocaml/ -name "*.cm[ioa]" | xargs grep "caml_mutex_new" Binary file /usr/lib/ocaml/threads/threads.cma matches Binary file /usr/lib/ocaml/site-packages/camltemplate/camltemplate.cma matches So I suppose threads.cma exports it, and CamlTemplate tries to import it, but fails. -- Mikael Brockman ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners