Cannot install IM fedora rpm on fedora

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
doak

Cannot install IM fedora rpm on fedora

Post by doak »

Hi, When i try to install the fedora rpm with this command, it shows an error

Code: Select all

rpm -iv ImageMagick-6.3.3-2.i386.rpm
error: Failed dependencies:
        libgvc.so.3 is needed by ImageMagick-6.3.3-2.i386
Is this file really needed?
I searched with google but i can't find the file, what can i do to make this work? I expect that when it's compiled on fedora it should also work with my fedora core (2.6.18-1.2798.fc6). I need this for my gallery. Here it's saying:

Code: Select all

composite
Failed
Error messages:
Problem executing binary:

composite: no decode delegate for this image format `/var/www/html/gallery2test/modules/imagemagick/data/test.jpg'.
composite: missing an image filename `/var/www/html/gallery2test/g2data/tmp/imgk_h1pWXb'.
Status: 1 (expected 0)

I prefer to install the rpm than compiling the package
thanks in advance

p.s. are these testlines correct?
composite -gravity NorthWest /home/user/test.jpg /home/user/test.jpg /home/user/resulttest.jpg
composite -gravity center /home/user/test.jpg rose: /home/user/test.gif
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Cannot install IM fedora rpm on fedora

Post by anthony »

I would just install the IM RPM and ignore the dependancy. I use to do this and it works quite well.

Code: Select all

rpm -Uhv --force --nodeps ImageMagick-*.rpm 
Usally the dependancy is in a coder that you will probably rarely use.
IM is very robust about external libraries and reports when coders failed because of such a problem, but will continue to work find for all auther situations.

WARNING: you may have to remove the IM then reinstall again afterward when you upgrade your machine. I have to do this all the time myself becuase of very strict dependancys by other packages that use IM.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
doak

Re: Cannot install IM fedora rpm on fedora

Post by doak »

thx mate it works :)
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Cannot install IM fedora rpm on fedora

Post by anthony »

However I also suggest you download and compile the package yourself from the SRPM.
I do this under Fc4, FC5 and FC6 without problems. Though an FC6 compiled package will not install on FC5, though FC5 will install on FC6.

here is my compile commands...

Code: Select all

rm -rf /usr/src/redhat/RPMS/*/* /usr/src/redhat/{SOURCES,SPECS,BUILD}/*
nice rpmbuild --nodeps --rebuild ~/dl/ImageMagick-*.src.rpm
cp -p /usr/src/redhat/RPMS/i386/ImageMagick-[6p]*.i386.rpm  ~/dl/
rm -rf /usr/src/redhat/RPMS/*/* /usr/src/redhat/{SOURCES,SPECS,BUILD}/*
sudo rpm -Uhv --force --nodeps ~/dl/ImageMagick-*.i386.rpm 
NOTE: I changed the ownership of the /usr/src/redhat directories, which means I do not actually need to be root to compile the package. I only need root (via sudo) to install the compiled package. The "rm" commands are general complete cleanup of the compile directory.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply