From: cookedm+news@physics.mcmaster.ca (David M. Cooke)
To: caml-list@inria.fr
Subject: Re: OS X/Intel and dynamic loading
Date: Tue, 22 Aug 2006 19:32:00 -0400 [thread overview]
Message-ID: <qnkk6502vpr.fsf@arbutus.physics.mcmaster.ca> (raw)
In-Reply-To: <Pine.LNX.4.62.0608211557010.8729@phoebe.cs.unm.edu>
"William D. Neumann" <wneumann@cs.unm.edu> writes:
> I recently got a Macbook Pro, and attempted to build OCaml from the
> CVS sources, but the build failed with the following error:
>
> cd camlp4; make all
> CAML_LD_LIBRARY_PATH=../otherlibs/unix ../boot/ocamlrun ../ocaml -I
> ../stdlib -I ../otherlibs/unix build/build.ml
> Cannot load required shared library dllunix.
> Reason: dynamic loading not supported on this platform.
> Reference to undefined global `Unix'
> make[1]: *** [yam] Error 2
> make: *** [camlp4out] Error 2
>
> Building from the tarball source works fine, but it also appears that
> dynamic loading doesn't work here either:
>
> [254] 2:48PM% ocaml unix.cma
> Cannot load required shared library dllunix.
> Reason: dynamic loading not supported on this platform.
>
> Note that the configure phase seems to indicate that dynamic loading
> should be working with the following message: NSLinkModule() found.
> Using darwin dynamic loading.
>
> Is it the case that dynamic loading isn't working yet of OS X/Intel,
> or is something odd just happening with my build? I can't find
> anything about this in the distribution or via google.
See my bug report (with patch) at
http://caml.inria.fr/mantis/view.php?id=4086
(while you're at it, you might want to look at
http://caml.inria.fr/mantis/view.php?id=4087 for adding gprof support.)
--
|>|\/|<
/--------------------------------------------------------------------------\
|David M. Cooke
|cookedm(at)physics(dot)mcmaster(dot)ca
prev parent reply other threads:[~2006-08-22 23:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-21 21:59 William D. Neumann
2006-08-21 22:11 ` [Caml-list] " Joel Reymont
2006-08-22 23:32 ` David M. Cooke [this message]
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=qnkk6502vpr.fsf@arbutus.physics.mcmaster.ca \
--to=cookedm+news@physics.mcmaster.ca \
--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