Version française
Home     About     Download     Resources     Contact us    
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: Hans Ole Rafaelsen <hansr@c...>
Subject: [Caml-list] Dynamically loaded library problems (ocaml-3.05)
Hi,

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/dllnums.so: undefined symbol: custom_compare_default

hansr [5] [11:30] [~] ocamlmktop -o mytop str.cma
Error on dynamically loaded library: /usr/local/lib/ocaml/dllstr.so: undefined symbol: custom_compare_default

hansr [6] [11:37] [~] ocaml
        Objective Caml version 3.05

# #load "str.cma";;
Cannot load required shared library: /usr/local/lib/ocaml/dllstr.so: undefined symbol: custom_compare_default.
#

etc....

The OS is RedHat 7.1.  Two different system have been tried.  One
using gcc 2.96 and the other gcc 3.04.

Ocaml-3.04 does have these problems.

Any suggestions on what I might be doing wrong?


Best regards,

Hans Ole Rafaelsen
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners