<?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/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)"
  prev="2002/07/4473ba7d51d430e8719525d0744d943c"
  next="2002/07/e5ad30ad3d085e195c5e4d8b7ad94acd"
  prev-in-thread="2002/07/6f913ecf7c3b90ae3f5f47d3c4d312a3"
  next-in-thread="2002/08/e1c9a9094ea7ab0c48a4f6f9f39f8352"
  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>
On Wed, Jul 31, 2002 at 01:08:20AM +1000, John Max Skaller wrote:
&gt; Xavier Leroy wrote:
&gt; 
&gt; &gt;&gt;I just installed ocaml-3.05.  Compiling and installation worked
&gt; &gt;&gt;without any complains.  However, I am having problems linking with
&gt; &gt;&gt;dynamic libraries.
&gt; &gt;&gt;
&gt; &gt;&gt;hansr [4] [11:29] [~] ocamlmktop -o mytop nums.cma
&gt; &gt;&gt;Error on dynamically loaded library: /usr/local/lib/ocaml/dllnums.so: 
&gt; &gt;&gt;undefined symbol: custom_compare_default
&gt; &gt;&gt;
&gt; &gt;
&gt; &gt;On a fresh 3.05 install, dllnums.so should be loaded from 
&gt; &gt;lib/ocaml/stublibs
&gt; &gt;rather than lib/ocaml.  I conjecture you have old files lying around
&gt; &gt;in /usr/local/lib/ocaml.  Try "rm -rf /usr/local/lib/ocaml" before
&gt; &gt;installing OCaml 3.05.
&gt; &gt;
&gt; Can I suggest that the directory:
&gt; 
&gt;    /usr/local/lib/ocaml_3.05/
&gt; 
&gt; might be a better default name? In switching versions around, having to 
&gt; reinstall

Is this not configurable ? I guess yes, and you can easily use one of
the configuration options to have ocaml installed in ocaml_3.05 (libdir,
i think it is, but you could also use prefix /usr/local/ocaml_3.05 i
think).

Friendly,

Sven Luther
-------------------
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>

