From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 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 8D964BCAB for ; Mon, 21 Aug 2006 23:58:20 +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 k7LLwK0A003356 for ; Mon, 21 Aug 2006 23:58:20 +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 XAA12102 for ; Mon, 21 Aug 2006 23:58:19 +0200 (MET DST) Received: from mail.cs.unm.edu (mail.cs.unm.edu [64.106.20.33]) by nez-perce.inria.fr (8.13.6/8.13.6) with ESMTP id k7LLwIMV010016 for ; Mon, 21 Aug 2006 23:58:18 +0200 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.cs.unm.edu (Postfix) with ESMTP id F304FE421D for ; Mon, 21 Aug 2006 15:58:14 -0600 (MDT) Received: from mail.cs.unm.edu ([127.0.0.1]) by localhost (mail [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 15516-02 for ; Mon, 21 Aug 2006 15:58:14 -0600 (MDT) Received: from phoebe.cs.unm.edu (phoebe.cs.unm.edu [64.106.21.27]) by mail.cs.unm.edu (Postfix) with ESMTP id 86D8AE4152 for ; Mon, 21 Aug 2006 15:58:14 -0600 (MDT) Date: Mon, 21 Aug 2006 15:59:10 -0600 (MDT) From: "William D. Neumann" To: caml-list@inria.fr Subject: OS X/Intel and dynamic loading Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at cs.unm.edu X-Miltered: at concorde with ID 44EA2C7C.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 44EA2C7A.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; ocaml:01 cvs:01 camlp:01 otherlibs:01 unix:01 ocamlrun:01 ocaml:01 stdlib:01 otherlibs:01 unix:01 dllunix:01 unix':01 camlp:01 tarball:01 dllunix:01 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