Page 1 of 1

libMagickCore.so.3

Posted: 2010-03-03T15:31:29-07:00
by Bonzo
I have spent 3 evenings trying to install ImageMagick and to cut a long story short my latest attempt comes up with: error while loading shared libraries: libMagickCore.so.3: cannot open shared object file: No such file or directory

This is the process I have been going through:
# uninstall old ImageMagick
yum remove ImageMagick

# get new ImageMagick sources
wget ftp://ftp.imagemagick.org/pub/ImageMagi ... ick.tar.gz

# untar
tar -zxvf ImageMagick*.tar.gz
cd ImageMagick*

# configure and make
./configure
make

# install
make install

Any ideas where I am going wrong ?

Re: libMagickCore.so.3

Posted: 2010-03-03T15:57:43-07:00
by fmw42
Did you download the right software? Looks like you got the unix version?

For windows, see http://www.imagemagick.org/download/www ... ml#windows

Re: libMagickCore.so.3

Posted: 2010-03-04T01:00:21-07:00
by snibgo
Hi Bonzo. I can't remember if you run Mac, Windows or *nix.

On Ubuntu, I have spent a frustrating few days compiling IM and especially ffmpeg, and all their various dependancies.

It turns out the trick for IM (and ffmpeg) both is to ensure I have done both:

Code: Select all

$ export LDFLAGS="-L/usr/local/lib -Wl,-rpath,/usr/local/lib"
$ export LD_LIBRARY_PATH="/usr/local/lib"
before doing ./configure with all its options.

Code: Select all

$ ldd /usr/local/bin/convert
shows:
linux-gate.so.1 => (0xb7ff6000)
libMagickCore.so.3 => /usr/local/lib/libMagickCore.so.3 (0xb7be8000)
libMagickWand.so.3 => /usr/local/lib/libMagickWand.so.3 (0xb7ab6000)
etc, and ls -ltr /usr/local/lib/libMagickCore.so.3* shows
-rwxr-xr-x 1 root root 8573190 2010-02-18 04:47 /usr/local/lib/libMagickCore.so.3.0.0
lrwxrwxrwx 1 root root 22 2010-02-18 04:47 /usr/local/lib/libMagickCore.so.3 -> libMagickCore.so.3.0.0

Re: libMagickCore.so.3

Posted: 2010-03-04T01:05:49-07:00
by Bonzo
Thanks for the replys; this time I am working a link server :? and will give your recomendations a go snibgo.

Re: libMagickCore.so.3

Posted: 2010-03-04T06:15:00-07:00
by Bonzo
According to Putty I now have Imagemagick installed but need to wait until I get home to restart http? and check.

Re: libMagickCore.so.3

Posted: 2010-03-04T12:10:53-07:00
by Bonzo
A server restart and we are up and running now 8)

Re: libMagickCore.so.3

Posted: 2010-04-21T08:24:27-07:00
by karatedog
Thanks snibgo! That just solved the problem.