Install on Fedora Core 6 : dependencies problem

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
theredled

Install on Fedora Core 6 : dependencies problem

Post by theredled »

Hello all

I hope i'm in the right section

I've installed ImageMagick command-line program on Windows, it seemed to work well, made good work. Now I want to install it on a Linux Fedora Core 6 OS, but I have some problems.

Installed by "rpm -Uvh", as explained in the doc, the program says that some dependencies are missing. So I try the same with "Yum install", but he put me an error.

What should i do just to wake it work ?

Thanks :)

with RPM "rpm -Uvh ImageMagick-6.3.5-3.i386.rpm":

Code: Select all

-bash-3.1# rpm -Uvh ImageMagick-6.3.5-3.i386.rpm
erreur: Dépendances requises:
        libHalf.so.4 est nécessaire pour ImageMagick-6.3.5-3.i386
        libIex.so.4 est nécessaire pour ImageMagick-6.3.5-3.i386
        libIlmImf.so.4 est nécessaire pour ImageMagick-6.3.5-3.i386
        libImath.so.4 est nécessaire pour ImageMagick-6.3.5-3.i386
        libgvc.so.3 est nécessaire pour ImageMagick-6.3.5-3.i386
        librsvg-2.so.2 est nécessaire pour ImageMagick-6.3.5-3.i386


Withc YUM "yum install ImageMagick-6.3.5-3.i386.rpm" :

Code: Select all

Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Examining ImageMagick-6.3.5-3.i386.rpm: ImageMagick - 6.3.5-3.i386
Marking ImageMagick-6.3.5-3.i386.rpm to be installed
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package ImageMagick.i386 0:6.3.5-3 set to be updated
--> Running transaction check
--> Processing Dependency: librsvg-2.so.2 for package: ImageMagick
--> Processing Dependency: libIex.so.4 for package: ImageMagick
--> Processing Dependency: libgvc.so.3 for package: ImageMagick
--> Processing Dependency: libHalf.so.4 for package: ImageMagick
--> Processing Dependency: libImath.so.4 for package: ImageMagick
--> Processing Dependency: libIlmImf.so.4 for package: ImageMagick
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package OpenEXR.i386 0:1.4.0a-3.fc6 set to be updated
---> Package librsvg2.i386 0:2.16.1-1.fc6 set to be updated
--> Running transaction check
--> Processing Dependency: libfltk_gl.so.1.1 for package: OpenEXR
--> Processing Dependency: libgvc.so.3 for package: ImageMagick
--> Processing Dependency: libfltk.so.1.1 for package: OpenEXR
--> Processing Dependency: libcroco-0.6.so.3 for package: librsvg2
--> Processing Dependency: libcroco >= 0.6.1 for package: librsvg2
--> Processing Dependency: libgsf >= 1.6.0 for package: librsvg2
--> Processing Dependency: libGLU.so.1 for package: OpenEXR
--> Processing Dependency: libgsf-1.so.114 for package: librsvg2
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package libgsf.i386 0:1.14.1-7 set to be updated
---> Package fltk.i386 0:1.1.8-0.3.r5750.fc6 set to be updated
---> Package libcroco.i386 0:0.6.1-2.1 set to be updated
---> Package mesa-libGLU.i386 0:6.5.1-9.fc6 set to be updated
--> Running transaction check
--> Processing Dependency: libgvc.so.3 for package: ImageMagick
--> Finished Dependency Resolution
Error: Missing Dependency: libgvc.so.3 is needed by package ImageMagick
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: Install on Fedora Core 6 : dependencies problem

Post by Bonzo »

I know nothing about Linux but I have installed it on a Linux machine with Fedora 6 ( may have been 7 ? ) and this is all I did :
Download and run the latest binary release for linux from here. http://www.imagemagick.org/script/binar ... s.php#unix
Extract the rpm file to a folder on your PC.
Run the config file in folder from step 2 ( you need to be connected to the internet as some files may need to be downloaded )
Confirm it is working by running in the terminal: convert -version
Run your code like this in the terminal : convert full_path_to_input.jpg -thumbnail 100x100 full_path_to_output.jpg
It worked straight away for me.
theredled

Re: Install on Fedora Core 6 : dependencies problem

Post by theredled »

Thanks a lot, i'll try this.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Install on Fedora Core 6 : dependencies problem

Post by anthony »

Typically the dependancys are not nessary. they are optional, not required.
IM will just fail with an error is you use a image format with such a dependancy.

I install IM using...
sudo rpm -Uhv --force --nodeps ~/dl/ImageMagick-*.i386.rpm

For that very reason.
NOTE I do install the IM from the YUM archives, so all the normal dependancys are satisified, then update that with my own RPM version I built from the SRPM or the SVN download. That is the IM I use was actually built on the system I use it on.

PS; RSVG librarys are usedful, as this IM can use these better SVG handling library than its built in version.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply