libMagickCore.so.3

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

libMagickCore.so.3

Post 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 ?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: libMagickCore.so.3

Post 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
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: libMagickCore.so.3

Post 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
snibgo's IM pages: im.snibgo.com
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: libMagickCore.so.3

Post by Bonzo »

Thanks for the replys; this time I am working a link server :? and will give your recomendations a go snibgo.
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: libMagickCore.so.3

Post by Bonzo »

According to Putty I now have Imagemagick installed but need to wait until I get home to restart http? and check.
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: libMagickCore.so.3

Post by Bonzo »

A server restart and we are up and running now 8)
karatedog

Re: libMagickCore.so.3

Post by karatedog »

Thanks snibgo! That just solved the problem.
Post Reply