* OS X/Intel and dynamic loading
@ 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
0 siblings, 2 replies; 3+ messages in thread
From: William D. Neumann @ 2006-08-21 21:59 UTC (permalink / raw)
To: caml-list
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.
William D. Neumann
---
"There's just so many extra children, we could just feed the
children to these tigers. We don't need them, we're not doing
anything with them.
Tigers are noble and sleek; children are loud and messy."
-- Neko Case
Life is unfair. Kill yourself or get over it.
-- Black Box Recorder
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Caml-list] OS X/Intel and dynamic loading
2006-08-21 21:59 OS X/Intel and dynamic loading William D. Neumann
@ 2006-08-21 22:11 ` Joel Reymont
2006-08-22 23:32 ` David M. Cooke
1 sibling, 0 replies; 3+ messages in thread
From: Joel Reymont @ 2006-08-21 22:11 UTC (permalink / raw)
To: William D. Neumann; +Cc: caml-list
William,
I installed Ocaml from darwinports just fine. I get the same message
about dynamic loading not being supported, though.
On Aug 21, 2006, at 10:59 PM, William D. Neumann wrote:
> 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.
--
http://wagerlabs.com/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: OS X/Intel and dynamic loading
2006-08-21 21:59 OS X/Intel and dynamic loading William D. Neumann
2006-08-21 22:11 ` [Caml-list] " Joel Reymont
@ 2006-08-22 23:32 ` David M. Cooke
1 sibling, 0 replies; 3+ messages in thread
From: David M. Cooke @ 2006-08-22 23:32 UTC (permalink / raw)
To: caml-list
"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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-08-22 23:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-21 21:59 OS X/Intel and dynamic loading William D. Neumann
2006-08-21 22:11 ` [Caml-list] " Joel Reymont
2006-08-22 23:32 ` David M. Cooke
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox