imagemagick x86_64——7.0.1 - 3.。Red Hat Enterprise Linux服务器上的rpm安装版本为6.7。

时间:2022-03-22 08:56:38

Trying to install ImageMagick 7.0.1-3 on Redhat 6.7 :

试图在Redhat 6.7上安装ImageMagick 7.0.1-3:

$sudo rpm -ivh ImageMagick-7.0.1-3.x86_64.rpm
error: Failed dependencies:
        ImageMagick-libs = 7.0.1-3 is needed by ImageMagick-7.0.1-3.x86_64
        libMagickCore-7.Q16HDRI.so.0()(64bit) is needed by ImageMagick-7.0.1-3.x86_64
        libMagickWand-7.Q16HDRI.so.0()(64bit) is needed by ImageMagick-7.0.1-3.x86_64
        libMagickWand-7.Q16HDRI.so.0(VERS_1.0)(64bit) is needed by ImageMagick-7.0.1-3.x86_64
        liblzma.so.5()(64bit) is needed by ImageMagick-7.0.1-3.x86_64

i was able to install ImageMagick using the tar.gz distribution for the same release.

我可以使用焦油来安装ImageMagick。相同版本的gz分布。

Now since i would like to have a binary, so i can install it on production servers, but when trying to create an rpm , i get:

既然我想要一个二进制文件,所以我可以在生产服务器上安装它,但是当我试图创建一个rpm时,我得到:

rpmbuild -ba ImageMagick.spec error: Failed build dependencies: jbigkit-devel is needed by ImageMagick-7.0.1-3.x86_64

rpmbuild英航ImageMagick。spec错误:失败的构建依赖项:jbigkit-devel需要ImageMagick-7.0.1-3.x86_64。

Where to get jbgkit-devel ?? and the rest of the dependencies ? Is there an alternate way to install ImageMagick ?

到哪里去找jbgkitdevel ??剩下的依赖项呢?安装ImageMagick有另外一种方法吗?

jbigkit does not mention jbigkit-devel

jbigkit没有提到jbigkit-devel。

Also, using the ImageMagick.spec provided in the tar.gz distribution i tried to make an rpm, but i get error:

此外,使用ImageMagick。在焦油中提供的规格。gz分布我试着做一个rpm,但我得到错误:

# rpmbuild -ba ImageMagick.spec
error: Failed build dependencies:
        jbigkit-devel is needed by ImageMagick-7.0.1-3.x86_64

Which is back to square one, i tried to copy jbigkit-2.1.tar.gz in SOURCES, but i get the same error for jbigkit-devel is needed

这又回到了原点,我试图复制jbigkit-2.1.tar。gz在源代码中,但是我对jbigkit-devel有同样的错误。

1 个解决方案

#1


0  

If you go to the ImageMagick binary releases,

如果你去看ImageMagick二进制版本,

the second link is the libs. Do that first and then the first link.
It worked for me and I got here looking to solve the error you entered.

第二个链接是libs。先做这个,然后再做第一个链接。它为我工作,我来这里是为了解决你输入的错误。

#1


0  

If you go to the ImageMagick binary releases,

如果你去看ImageMagick二进制版本,

the second link is the libs. Do that first and then the first link.
It worked for me and I got here looking to solve the error you entered.

第二个链接是libs。先做这个,然后再做第一个链接。它为我工作,我来这里是为了解决你输入的错误。