Red Hat Bugzilla – Bug 131708
ImageMagick convert missing file
Last modified: 2013-04-02 00:20:10 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.2; Linux; X11; en_US, en_US.UTF-8, en) (KHTML, like Gecko)
Description of problem:
when I try to convert a postscript file using convert i.e.
convert fig3.ps f.eps
I get an error:
convert: missing an image filename `f.eps'.
some config file or perhaps some delagate is not where it is
supposed to be.
I have been building my 6.0.6 rpms for a long time and they are
working fine. I am attaching my spec file (may not be perfect!)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. upgrade to 22.214.171.124
2. use convert to convert a file
Created attachment 103434 [details]
This is not just convert. I get this from all ImageMagick tools since
last update (126.96.36.199-1, updating from 188.8.131.52-1.3).
While at it we should go to 6.0.7-1 stable since it fixes a few other problems.
According to imagemagick.org, convert and other commands search
for 2 configuration files.
When I linked /usr/share/ImageMagick-6.0.6
to existing /usr/share/ImageMagick directory,
convert command seems to work well.
So the question is: should ImageMagick be looking in
/usr/share/ImageMagick-6.0.6/ or /usr/share/ImageMagick/?
Created attachment 103527 [details]
ImageMagick spec diff file
I found that /usr/lib/ImageMagick-6.0.6/config directory
( which is included in rpm ) is also the search path of convert etc. ,
and almost all .mgk file are already in the directory.
So, moving all .mgk files in /usr/share/ImageMagick
directory to that directory will meet the demand.
I made the diff file for spec file (which I previously sent.. sorry)
which seems to work for me.
This is related to 132007. I was going to mark it a duplicate of this
bug. But Momoru's comment (#7) is contradictory to what I saw.
Perhaps he is mistaken.
rpm -qli ImageMagick |grep conf && rpm -q ImageMagick
The application is looking for usr/lib64/ImageMagick/* which looks
consistant with other packages. Please make sure the RPM places the
file there instead of /usr/lib64/ImageMagick-6.0.6
With that, I'll mark 132007 a duplicate of this bug. But I think
More details in 132007
*** Bug 132007 has been marked as a duplicate of this bug. ***
I suppose that taj is using x86_64 package , where I am
using i386 package. That seems to be the reason the directory
of library differ. I checked both rpm packages and those
Then, it may be more preferable that all the mgk file in
/usr/share/ImageMagick directory to /usr/share/ImageMagick-6.0.6
directory rather than to /usr/lib*/ImageMagick-6.0.6/config
directory as taj previously commented.
The searching directory is also checked by the command:
convert -debug configure logo: image.pnm
which imagemagick.org introduces.
convert et al look for the files in:
Current RPMs (ImageMagick.i386 0:184.108.40.206-2) are broken in this respect
because they link the *.mgk files into /usr/share/ImageMagick but not
Hmm, I lied, that doesn't fix it...
ImageMagick-220.127.116.11-3 fixes the config file stuff.
It just leaves an empty /usr/share/ImageMagick, this is fixed in CVS.