caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Mikael Brockman <phubuh@phubuh.org>
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
Date: 08 Nov 2003 13:29:07 +0100	[thread overview]
Message-ID: <87ekwjqc18.fsf@igloo.phubuh.org> (raw)
In-Reply-To: <20031108120804.GA7957@redhat.com>

Richard Jones <rich@annexia.org> 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
<phubuh@phubuh.org>

-------------------
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


  reply	other threads:[~2003-11-08 12:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-08 11:47 [Caml-list] " Mikael Brockman
2003-11-08 12:08 ` [Caml-list] " Richard Jones
2003-11-08 12:29   ` Mikael Brockman [this message]
2003-11-08 12:54     ` Richard Jones
2003-11-08 13:25       ` Mikael Brockman
2003-11-08 13:40         ` Richard Jones
2003-11-08 17:57     ` Benjamin Geer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ekwjqc18.fsf@igloo.phubuh.org \
    --to=phubuh@phubuh.org \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).