Version franįaise
Home     About     Download     Resources     Contact us    
Browse thread
Dynlinking plugins defining the same unit name but with different implementations.
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Alain Frisch <alain@f...>
Subject: Re: [Caml-list] Re: Dynlinking plugins defining the same unit name but with different implementations.
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