Browse thread
[Caml-list] Dynamically loaded library problems (ocaml-3.05)
-
Hans Ole Rafaelsen
-
Xavier Leroy
- John Max Skaller
-
Xavier Leroy
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | John Max Skaller <skaller@o...> |
| Subject: | Re: [Caml-list] Dynamically loaded library problems (ocaml-3.05) |
Xavier Leroy wrote:
>>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
>>
>
>On a fresh 3.05 install, dllnums.so 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.
>
Can I suggest that the directory:
/usr/local/lib/ocaml_3.05/
might be a better default name? In switching versions around, having to
reinstall
is a pain. Can't Ocaml 3.05 use a completely new set of directories so
it can
be installed without clobbering 3.04?
--
John Max Skaller, mailto:skaller@ozemail.com.au
snail:10/1 Toxteth Rd, Glebe, NSW 2037, Australia.
voice:61-2-9660-0850
-------------------
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