caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Florent Monnier <fmonnier@linux-nantes.fr.eu.org>
To: ocaml <caml-list@inria.fr>
Subject: [Caml-list] Magick wrap
Date: Sun, 11 Jul 2004 21:54:11 +0200	[thread overview]
Message-ID: <200407112150.25293.fmonnier@linux-nantes.fr.eu.org> (raw)

hi,
I would like to write a simple image manipulation program,
I have first made some experiments with php and image-magick
http://grincheux.codelutin.org/~monnier/php/conjure/
But PHP lacks with the gtkDrawingArea stability, due to a memory leak.

As OCaml is the nicest language of the world :) I would like to work with it.
Matthieu Dubuget have show me how to use OCamlMakefile
http://north.chez.tiscali.fr/IM/imagemagick-ocaml-wrap.tgz
but the problem is that the binary does not work on my system.

The error message is " Unable to open file () " and it seems this problem 
comes from that there are 2 different versions of the libMagick on my system  
[see at the end of the mail for details].


So my question is how can one deal with versions of the installed libs when 
wraping C and OCaml ?


++ cheers
-- 
--------------------------------

/usr/lib/libMagick.so   ->  libMagick-5.5.4.so.0.0.0
/usr/lib/libMagick.so.5  ->  /usr/lib/libMagick-5.5.4.so.0.0.0
/usr/lib/libMagick-5.5.4.so.0.0.0

/usr/local/lib/libMagick.so   ->  libMagick.so.6.0.1
/usr/local/lib/libMagick.so.6 ->  libMagick.so.6.0.1
/usr/local/lib/libMagick.so.6.0.1

--------------------------------

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


             reply	other threads:[~2004-07-11 19:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-11 19:54 Florent Monnier [this message]
2004-07-13 16:43 ` Florent Monnier
2004-07-14 16:44 ` Pierre Weis
2004-07-14 22:06   ` Florent Monnier
2004-07-14 22:29     ` Pierre Weis
2004-07-14 23:58       ` Florent Monnier
2004-07-15 21:37         ` Pierre Weis

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=200407112150.25293.fmonnier@linux-nantes.fr.eu.org \
    --to=fmonnier@linux-nantes.fr.eu.org \
    --cc=caml-list@inria.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).