Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Dynamically loaded library problems (ocaml-3.05)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Xavier Leroy <xavier.leroy@i...>
Subject: Re: [Caml-list] Dynamically loaded library problems (ocaml-3.05)
> I just installed ocaml-3.05.  Compiling and installation worked
> without any complains.  However, I am having problems linking with
> dynamic libraries.
> hansr [4] [11:29] [~] ocamlmktop -o mytop nums.cma
> Error on dynamically loaded library: /usr/local/lib/ocaml/ undefined symbol: custom_compare_default

On a fresh 3.05 install, should be loaded from lib/ocaml/stublibs
rather than lib/ocaml.  I conjecture you have old files lying around
in /usr/local/lib/ocaml.  Try "rm -rf /usr/local/lib/ocaml" before
installing OCaml 3.05.

- Xavier Leroy
To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: