caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Daniel Bünzli" <daniel.buenzli@erratique.ch>
To: Travis Brady <travis.brady@gmail.com>
Cc: "Jeremy Yallop" <yallop@gmail.com>,
	"Milan Stanojević" <milanst@gmail.com>,
	"Dan Benjamin" <dbenjamin@janestreet.com>,
	"David Sheets" <sheets@alum.mit.edu>,
	"Bruno Deferrari" <utizoc@gmail.com>,
	"O Caml" <caml-list@inria.fr>
Subject: Re: [Caml-list] Static linking via Ctypes?
Date: Wed, 26 Mar 2014 18:17:11 +0100	[thread overview]
Message-ID: <006A3CA48A9740C187226F8F481ECAE6@erratique.ch> (raw)
In-Reply-To: <CABHK4nUZP5qKc1gh+97oo_PGx2LR314dC_EkWyWObiA6QhCDzA@mail.gmail.com>



Le mercredi, 26 mars 2014 à 17:24, Travis Brady a écrit :

> So currently I can make binaries, but I'd love to be able to #require this in utop for interactive ipython-like usage.

What's the error ? Isn't it maybe because the stublib isn't installed in whathever .opam/$SWITCH/lib/stublib ?  

If you didn't install yet you can try to make it look it up in your build dir by adding that directory to CAML_LD_LIBRARY_PATH, see:

http://caml.inria.fr/pub/docs/manual-ocaml-4.01/runtime.html#sec256

Otherwise I'd suggest making it first working without oasis where you have control and understanding of what you do. You can then try to figure out later if you can retro fit what you have done in that cumbersome tool.  

Best,

Daniel



  reply	other threads:[~2014-03-26 17:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-25 14:54 dbenjamin
2014-03-25 15:04 ` Bruno Deferrari
2014-03-25 15:11   ` Dan Benjamin
2014-03-25 15:24     ` David Sheets
2014-03-25 17:55       ` Dan Benjamin
2014-03-25 21:19         ` Jeremy Yallop
2014-03-25 21:37           ` Milan Stanojević
2014-03-25 23:14             ` Jeremy Yallop
2014-03-26 16:24               ` Travis Brady
2014-03-26 17:17                 ` Daniel Bünzli [this message]
2014-03-26 17:25               ` Milan Stanojević
2014-03-25 15:10 ` Daniel Bünzli

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=006A3CA48A9740C187226F8F481ECAE6@erratique.ch \
    --to=daniel.buenzli@erratique.ch \
    --cc=caml-list@inria.fr \
    --cc=dbenjamin@janestreet.com \
    --cc=milanst@gmail.com \
    --cc=sheets@alum.mit.edu \
    --cc=travis.brady@gmail.com \
    --cc=utizoc@gmail.com \
    --cc=yallop@gmail.com \
    /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).