<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2002/07/dbd69179d3032b33487e24b5f6de7869"
  from="Hans Ole Rafaelsen &lt;hansr@c...&gt;"
  author="Hans Ole Rafaelsen"
  date="2002-07-30T09:45:23"
  subject="[Caml-list] Dynamically loaded library problems (ocaml-3.05)"
  prev="2002/07/df54fc16fe2e9e317c69afa3d2eec5fd"
  next="2002/07/e5ef408c1773fc5583242d29589bce14"
  next-in-thread="2002/07/e5ef408c1773fc5583242d29589bce14"
  prev-thread="2002/07/fee6c3e5331f7ec8db2fdd96df87865d"
  next-thread="2002/07/b76869ca9f319eef1e10b97e5b761304"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] Dynamically loaded library problems (ocaml-3.05)">
<msg 
  url="2002/07/dbd69179d3032b33487e24b5f6de7869"
  from="Hans Ole Rafaelsen &lt;hansr@c...&gt;"
  author="Hans Ole Rafaelsen"
  date="2002-07-30T09:45:23"
  subject="[Caml-list] Dynamically loaded library problems (ocaml-3.05)">
<msg 
  url="2002/07/e5ef408c1773fc5583242d29589bce14"
  from="Xavier Leroy &lt;xavier.leroy@i...&gt;"
  author="Xavier Leroy"
  date="2002-07-30T09:56:40"
  subject="Re: [Caml-list] Dynamically loaded library problems (ocaml-3.05)">
<msg 
  url="2002/07/6f913ecf7c3b90ae3f5f47d3c4d312a3"
  from="John Max Skaller &lt;skaller@o...&gt;"
  author="John Max Skaller"
  date="2002-07-30T15:08:37"
  subject="Re: [Caml-list] Dynamically loaded library problems (ocaml-3.05)">
<msg 
  url="2002/07/fc28a5f9ba4a80c9e415bc268b4dbbf8"
  from="Sven LUTHER &lt;luther@d...&gt;"
  author="Sven LUTHER"
  date="2002-07-30T16:37:29"
  subject="Re: [Caml-list] Dynamically loaded library problems (ocaml-3.05)">
<msg 
  url="2002/08/e1c9a9094ea7ab0c48a4f6f9f39f8352"
  from="John Max Skaller &lt;skaller@o...&gt;"
  author="John Max Skaller"
  date="2002-08-01T15:03:35"
  subject="Re: [Caml-list] Dynamically loaded library problems (ocaml-3.05)">
<msg 
  url="2002/08/536dcaf33e84b0f03afd5fed910cfd77"
  from="Sven LUTHER &lt;luther@d...&gt;"
  author="Sven LUTHER"
  date="2002-08-01T16:02:50"
  subject="Re: [Caml-list] Dynamically loaded library problems (ocaml-3.05)">
</msg>
</msg>
</msg>
</msg>
</msg>
</msg>
</thread>

<contents>
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

</contents>

</message>

