<?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="2009/10/e6a0f61ca2697ada7ca7010f2e8abae2"
  from="Dmitriy Kargapolov &lt;dmitriy.kargapolov@g...&gt;"
  author="Dmitriy Kargapolov"
  date="2009-10-14T19:09:26"
  subject="Re: Dynlink ocamlfind problem"
  prev="2009/10/05e52ba550a618e67da7434c75334d50"
  next="2009/10/4bc02bd6c5fd4b979222038aa6a6188c"
  prev-in-thread="2009/10/6d8097dd50dc4197e62e77c76987d947"
  prev-thread="2009/10/7b2a0313dff20ef412e178f7bf6cfa49"
  next-thread="2009/10/67acf39883f97441f08e61ecd49a77e2"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="Dynlink ocamlfind problem">
<msg 
  url="2009/10/6d8097dd50dc4197e62e77c76987d947"
  from="Dmitriy Kargapolov &lt;dmitriy.kargapolov@g...&gt;"
  author="Dmitriy Kargapolov"
  date="2009-10-14T02:36:43"
  subject="Dynlink ocamlfind problem">
<msg 
  url="2009/10/e6a0f61ca2697ada7ca7010f2e8abae2"
  from="Dmitriy Kargapolov &lt;dmitriy.kargapolov@g...&gt;"
  author="Dmitriy Kargapolov"
  date="2009-10-14T19:09:26"
  subject="Re: Dynlink ocamlfind problem">
</msg>
</msg>
</thread>

<contents>
Never mind. Problem was with /usr/lib/ocaml/dynlink/META which was
missing native library spec.
(My actual project that didn't compile used native mode)

Fix:

--- /usr/lib/ocaml/dynlink/META.orig    2009-02-26 05:23:21.000000000 -0500
+++ /usr/lib/ocaml/dynlink/META 2009-10-14 15:02:56.253171783 -0400
@@ -5,4 +5,4 @@
 directory = "^"
 browse_interfaces = " Btype Bytesections Clflags Config Consistbl Dll
Dynlink Ident Meta Misc Opcodes Path Predef Runtimedef Symtable Tbl
Types "
 archive(byte) = "dynlink.cma"
-
+archive(native) = "dynlink.cmxa"

</contents>

</message>

