From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by c5ff346549e7 (Postfix) with ESMTP id AB2CE2DF6 for ; Mon, 11 Mar 2019 11:18:35 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.58,467,1544482800"; d="scan'208";a="372813781" Received: from sympa.inria.fr ([193.51.193.213]) by mail2-relais-roc.national.inria.fr with ESMTP; 11 Mar 2019 12:18:33 +0100 Received: by sympa.inria.fr (Postfix, from userid 20132) id A94B88264B; Mon, 11 Mar 2019 12:18:33 +0100 (CET) Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id F1C7C8264A for ; Mon, 11 Mar 2019 12:18:29 +0100 (CET) Authentication-Results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=jdimino@janestreet.com; spf=Pass smtp.mailfrom=jdimino@janestreet.com; spf=None smtp.helo=postmaster@mxout1.mail.janestreet.com IronPort-PHdr: =?us-ascii?q?9a23=3A6NkXcxxM+BBzd8rXCy+O+j09IxM/srCxBDY+r6Qd?= =?us-ascii?q?2+oSIJqq85mqBkHD//Il1AaPAdyDraodw8Pt8InYEVQa5piAtH1QOLdtbDQizf?= =?us-ascii?q?ssogo7HcSeAlf6JvO5JwYzHcBFSUM3tyrjaRsdF8nxfUDdrWOv5jAOBBr/KRB1?= =?us-ascii?q?JuPoEYLOksi7ze+/94DPbwlSmDaxfK55IQmrownWqsQYm5ZpJLwryhvOrHtIeu?= =?us-ascii?q?BWyn1tKFmOgRvy5dq+8YB6/ShItP0v68BPUaPhf6QlVrNYFygpM3o05MLwqxbO?= =?us-ascii?q?SxaE62YGXWUXlhpIBBXF7A3/U5zsvCb2qvZx1S+HNsDwULs6Wymt771zRRDnhi?= =?us-ascii?q?cINT43/m/UhMJtkqxUvB2vqgdjw47NeoyZKOZycr/fcN4cWGFPXtxRVytEAo6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Tw=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0B3AgBaQ4ZcfU7IaSZkHgEGBwaBZYJ4g?= =?us-ascii?q?QMnhAmTSIINiTGPCYFnDRuEUQKEOhoHAQQ0EgEBAwEBBwEDAQEBEwEBCRYITAy?= =?us-ascii?q?COiKCbwEFIwQZAQE3AQ8LCw0CAiYCAiEBEgEFARwGEwiDG4FdAxUDo048iixxf?= =?us-ascii?q?DOCeAEBBYR6DYIXCBJ5JIstF4FAP4NuNYJXRwKBSQgQgwqCV6NxMwmHUYd9gz4?= =?us-ascii?q?ZglGQaZIOi0oPIYE9gXczGggbFTsxBoI1CYIBDBeDS4R+hVU/M5A8AQE?= X-IPAS-Result: =?us-ascii?q?A0B3AgBaQ4ZcfU7IaSZkHgEGBwaBZYJ4gQMnhAmTSIINiTG?= =?us-ascii?q?PCYFnDRuEUQKEOhoHAQQ0EgEBAwEBBwEDAQEBEwEBCRYITAyCOiKCbwEFIwQZA?= =?us-ascii?q?QE3AQ8LCw0CAiYCAiEBEgEFARwGEwiDG4FdAxUDo048iixxfDOCeAEBBYR6DYI?= =?us-ascii?q?XCBJ5JIstF4FAP4NuNYJXRwKBSQgQgwqCV6NxMwmHUYd9gz4ZglGQaZIOi0oPI?= =?us-ascii?q?YE9gXczGggbFTsxBoI1CYIBDBeDS4R+hVU/M5A8AQE?= X-IronPort-AV: E=Sophos;i="5.58,467,1544482800"; d="scan'208";a="372813741" X-MGA-submission: =?us-ascii?q?MDFz6UR7thZxkWyo/WYXIYf6d5rkITUwPsHdSi?= =?us-ascii?q?3dShr1ihP/CCsn2gd+fRNte5l6VbGTlPeKf4lIWoQtgzc9DzPU+9h0qT?= =?us-ascii?q?Ad16BucALiYK84B1P4Y+55oghVDmbYNUZPeMxiO3W0/yfvYjX/4M8luj?= =?us-ascii?q?gOgJmfginYP2if0EsJFwWLFQ=3D=3D?= Received: from mxout1.mail.janestreet.com ([38.105.200.78]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Mar 2019 12:18:26 +0100 X-JS-Received: from [30.32.81.38] (helo=igm-qpr-mailcore1) by mxout1.mail.janestreet.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1h3Iwq-00045I-S9 for caml-list@inria.fr; Mon, 11 Mar 2019 07:18:24 -0400 X-JS-Flow: external X-JS-Received: by igm-qpr-mailcore1 with ocaml/mailcore/main_production (c35580b6ead4) (envelope-from ) id BchkQA-_pNgwA-aV; 2019-03-11 07:18:24.850252-04:00 X-JS-Scanner-attachment: No attachments X-JS-Scanner-esets: Not scanned (internal mail) Received: from mail-lf1-f69.google.com ([209.85.167.69]) by mxgoog1.mail.janestreet.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.90_1) id 1h3Iwq-000548-Mc for caml-list@inria.fr; Mon, 11 Mar 2019 07:18:24 -0400 Received: by mail-lf1-f69.google.com with SMTP id s26so166489lfc.7 for ; Mon, 11 Mar 2019 04:18:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=janestreet.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=clpN5qdYg2spkVNkl32wtc7lXeH28cBGMtSFmUvbPiQ=; b=jDS1hynhuhg2BsLFRp7qJsegQhN8SxdhNeWMB8BPA0VW2K+FpXcmuGUwvPxZJEzQUc 4i/dhPu2+hE0A3WihLx5Mngzle6qMmbvQy3Q9h67l6BzUoACcY2K4cKR0E3+sXPIknK/ nn1zva6YXBoSxuukKhoFxbMvlLFFgKiF7m91Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=clpN5qdYg2spkVNkl32wtc7lXeH28cBGMtSFmUvbPiQ=; b=UD6VhRLRw6J5/z24QucJgbfE88gkZv5GtrDVbA6lpSBRLIePxnlYXrcdfM53T8nH10 qY9af0YOD1loFOQiNVMzTkkIBJAZr3RDLkRKisealygZz14be5dI1VQ36bp8cQPt7EI4 FtIhfwQUqeOPf50M47tlWSV5OygDh5NSe7EBHT8x0qWAPWGLP4UU42nTuzWAx5z4pc5X GP+B2EQWTeV5stsBATLoR4v2xSLUbfsoCyT6V263ZULp3NnOg+xe3laJRxF1q4viuZCZ sH7/bPSGXtSfP6owKDC6KVl/O/AU1XX/+2SQybI/qmW5vtRcpD6+vtr2UlMUwRfs6SRH BR5A== X-Gm-Message-State: APjAAAXRMVmkZr41yxFm+z9j1bnDbBTUJLS8ZKMjPv/vzYSXMICSbFnd Ws3iIGoYgT4Nq0xLGBUCXlguP/jT2vIk/zcZR7d30ETenLD8Fqpi8qEn6tR84ocDD7pFs1NtQKO Jtid9q+0fwiLJv3sZMHZY28YzLg== X-Received: by 2002:a2e:390d:: with SMTP id g13mr8013346lja.47.1552303103028; Mon, 11 Mar 2019 04:18:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqzC7MDCXpeJc57pu8Xtdjq0kDlIg62SVdYARX5GvTSFWotK1nWXLFf6hGc6yTkmbw97bUKi8mVEznXSUnKT+N8= X-Received: by 2002:a2e:390d:: with SMTP id g13mr8013330lja.47.1552303102738; Mon, 11 Mar 2019 04:18:22 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jeremie Dimino Date: Mon, 11 Mar 2019 11:18:11 +0000 Message-ID: To: Papa Tango Cc: caml-list@inria.fr Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-JS-Exim-Data-Received: 2019-03-11 07:18:24-0400 X-JS-Processed-by: mailcore Subject: Re: [Caml-list] ocamlbuild(0.14) -> core(v0.12.0) -> fails at runtime Reply-To: Jeremie Dimino X-Loop: caml-list@inria.fr X-Sequence: 17395 Errors-to: caml-list-owner@inria.fr Precedence: list Precedence: bulk Sender: caml-list-request@inria.fr X-no-archive: yes List-Id: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Could you open a ticket on github.com/janestreet/core? That's the right place to report such errors. Additionally, could you try to reproduce the error with dune rather than ocamlbuild? Building an application using Core with ocamlbuild should work, however it is not being tested. Thanks, Jeremie On Fri, Mar 8, 2019 at 11:09 PM Papa Tango wrote: > > I believe there may be a bug in ocamlbuild when attempting to build proje= cts that require Jane Street's Core and related packages. Or perhaps the er= ror lies with Core, but I am no judge. Or perhaps my use of ocamlbuild is f= lawed. > > I started a simple project from scratch and with just 2 modules, and one = of them merely being dedicated to command line parsing, I could not get the= program to work with the most recent versions of OCaml (4.07.1), Core (v.0= .12.0), and ocamlbuild (0.14) available through opam (v2.0.0), all on a Deb= ian box. The project compiles but at runtime I get an error: > > Fatal error: cannot load shared library dllcore_stubs > Reason: //.opam/4.07.1/lib/stublibs/dllcore_stubs.so: undefine= d symbol: caml_exn_Invalid_argument > > I double checked my environment variables. And this was not within an ema= cs shell. In my Makefile I was passing -pkgs to ocamlbuild a list including= core, and I experimented with adding base and core_kernel, but that didn't= help. I slowly stripped away dependencies of anything related to Core, but= the error persisted until I completely removed Core. I was not even using = Core for command line parsing, nor in the module dedicated to command line = parsing. Compilation was always successful, however. > > Finally, I gave up and downgraded to Ocaml 4.06.0 and Core 0.11.3 and the= same project compiles and runs just fine while including Core. Considering= that my version of ocamlbuild did not downgrade, I suspect something chang= ed over at Core...but still...it would be nice to support building with Cor= e even if the error lies there. Has anyone else seen this issue? > > Thank you. > > -Paul --=20 Jeremie