Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Magick wrap
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Florent Monnier <fmonnier@l...>
Subject: Re: [Caml-list] Magick wrap
[...]
> 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 ?

Well, I have found a solution (don't know if it is the best one) :

sed -i Makefile -e "s/Magick/Magick-6.0.1/g"
su -
cd /usr/local/lib
ln -s libMagick.so.6.0.1 libMagick-6.0.1.so

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