caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Alain Frisch <alain@frisch.fr>
To: "Pierre-Loïc Garoche" <Pierre-Loic.Garoche@onera.fr>
Cc: Julien Signoles <julien.signoles@cea.fr>,
	thirioux@enseeiht.fr, caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Dynamic loading of native code : what about	librairies and packs ?
Date: Tue, 01 Sep 2009 12:01:09 +0200	[thread overview]
Message-ID: <4A9CF0E5.2040401@frisch.fr> (raw)
In-Reply-To: <20090901085647.GF4549@onera.fr>

Pierre-Loïc Garoche wrote:
> error loading shared library: blabla/MyPlugin.cmxs: undefined symbol: camlHashtbl__create_79

You need to ensure that the main program is linked with all the modules 
that are needed by the dynamically loaded modules (including the modules 
from the standard library). Linking the main program with -linkall 
should solve your problem.

-- Alain



  parent reply	other threads:[~2009-09-01 10:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-31 16:24 Pierre-Loïc Garoche
2009-03-31 16:34 ` [Caml-list] " Alain Frisch
2009-03-31 16:38   ` Pierre-Loïc Garoche
2009-03-31 17:14     ` Alain Frisch
2009-09-01  8:56   ` Pierre-Loïc Garoche
2009-09-01  9:13     ` Christophe TROESTLER
2009-09-01 10:01     ` Alain Frisch [this message]
2009-04-01  9:02 ` Julien Signoles

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A9CF0E5.2040401@frisch.fr \
    --to=alain@frisch.fr \
    --cc=Pierre-Loic.Garoche@onera.fr \
    --cc=caml-list@yquem.inria.fr \
    --cc=julien.signoles@cea.fr \
    --cc=thirioux@enseeiht.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).