Page 1 of 1

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: 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 ... ick.tar.gz

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

# configure and make

# install
make install

Any ideas where I am going wrong ?


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 ... ml#windows


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: => (0xb7ff6000) => /usr/local/lib/ (0xb7be8000) => /usr/local/lib/ (0xb7ab6000)
etc, and ls -ltr /usr/local/lib/* shows
-rwxr-xr-x 1 root root 8573190 2010-02-18 04:47 /usr/local/lib/
lrwxrwxrwx 1 root root 22 2010-02-18 04:47 /usr/local/lib/ ->


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.


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.


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


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