From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 680C0BC57 for ; Mon, 5 Jul 2010 09:27:12 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ar4DAJomMUzB/Bd4gWdsb2JhbACDHJxOFQEBCwkKBxMDH6x6kC2BKYMKcgSIOg X-IronPort-AV: E=Sophos;i="4.53,538,1272837600"; d="scan'208";a="62721860" Received: from smtp-msa-out01.orange.fr ([193.252.23.120]) by mail1-smtp-roc.national.inria.fr with ESMTP; 05 Jul 2010 09:27:12 +0200 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf5a04.orange.fr (SMTP Server) with ESMTP id 242CA1C0017E; Mon, 5 Jul 2010 09:27:12 +0200 (CEST) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf5a04.orange.fr (SMTP Server) with ESMTP id 0F0DA1C002BE; Mon, 5 Jul 2010 09:27:12 +0200 (CEST) Received: from [192.168.1.90] (APuteaux-154-1-82-106.w83-204.abo.wanadoo.fr [83.204.161.106]) by mwinf5a04.orange.fr (SMTP Server) with ESMTP id AD0831C0017E; Mon, 5 Jul 2010 09:27:11 +0200 (CEST) X-ME-UUID: 20100705072711708.AD0831C0017E@mwinf5a04.orange.fr X-ME-User-Auth: lexifi Message-ID: <4C31894F.904@frisch.fr> Date: Mon, 05 Jul 2010 09:27:11 +0200 From: Alain Frisch User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 MIME-Version: 1.0 To: =?UTF-8?B?RGFuaWVsIELDvG56bGk=?= Cc: caml-list List Subject: Re: [Caml-list] Re: Dynlinking plugins defining the same unit name but with different implementations. References: <4C2D9E51.8010500@frisch.fr> <4C2DA5FD.4040004@frisch.fr> <4C2DA792.4010604@frisch.fr> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam: no; 0.00; frisch:01 frisch:01 ocaml:01 usr:01 lib:01 ocaml:01 bug:01 bug:01 wrote:01 caml-list:01 undefined:01 undefined:01 alain:01 alain:01 caml:02 On 07/02/2010 07:48 PM, Daniel Bünzli wrote: > Now on Linux 2.6.32-23-generic #37-Ubuntu SMP Fri Jun 11 07:54:58 UTC > 2010 i686 GNU/Linux > > with exactly the same code that know works on osx and ocaml 3.12 from > svn. I get the following problem when running my test program. > > error loading shared library: > /home/dbuenzli/sync/dynlinkt/_build/a/a.cmxs: undefined symbol: > camlPervasives__$5e_1112 > error loading shared library: > /home/dbuenzli/sync/dynlinkt/_build/b/b.cmxs: undefined symbol: > camlPervasives__$5e_1112 > > I tried to add /usr/local/lib/ocaml to LD_LIBRARY_PATH but without > success. Any hint ? Is that a bug or am I missing something ? Could you double-check that you do not mix files compiled with different versions? Then, please send a reproduction case (with source code and build instructions) to the Caml bug tracker. Thanks! Alain