Page 1 of 1

Centos 6.x 64-bit installable rpm

Posted: 2014-02-13T13:03:05-07:00
by DRY411S
Hello, complete newbie here. I hope I have posted this in the right place. :?

I have tried to use the latest 64-bit rpm from here, but it relayed some dependency errors. So heart in mouth, I decide to build my own rpm from source. First time I ever tried to do such a thing, but I am IT literate and can follow instructions.

I followed these instructions on imagemagick.org and all went well with a few non-fatal warnings along the way, until right at the very end when I got these error messages.

Code: Select all

Processing files: ImageMagick-6.8.8-5.x86_64
error: File not found by glob: /root/rpmbuild/BUILDROOT/ImageMagick-6.8.8-5.x86_                                                                                                                               64/usr/lib64/ImageMagick-6.8.8/modules-*/coders/djvu.*
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.u0IRqd
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd ImageMagick-6.8.8-5
+ DOCDIR=/root/rpmbuild/BUILDROOT/ImageMagick-6.8.8-5.x86_64/usr/share/doc/Image                                                                                                                               Magick-6.8.8
+ export DOCDIR
+ rm -rf /root/rpmbuild/BUILDROOT/ImageMagick-6.8.8-5.x86_64/usr/share/doc/Image                                                                                                                               Magick-6.8.8
+ /bin/mkdir -p /root/rpmbuild/BUILDROOT/ImageMagick-6.8.8-5.x86_64/usr/share/do                                                                                                                               c/ImageMagick-6.8.8
+ cp -pr QuickStart.txt ChangeLog Platforms.txt /root/rpmbuild/BUILDROOT/ImageMa                                                                                                                               gick-6.8.8-5.x86_64/usr/share/doc/ImageMagick-6.8.8
+ cp -pr README.txt LICENSE NOTICE AUTHORS.txt NEWS.txt /root/rpmbuild/BUILDROOT                                                                                                                               /ImageMagick-6.8.8-5.x86_64/usr/share/doc/ImageMagick-6.8.8
+ exit 0


RPM build errors:
    File not found by glob: /root/rpmbuild/BUILDROOT/ImageMagick-6.8.8-5.x86_64/                                                                                                                               usr/lib64/ImageMagick-6.8.8/modules-*/coders/djvu.*
#
I started the "nice rpmbuild --nodeps --rebuild ImageMagick*.src.rpm" build in /tmp/ImageMagick-6.8.8-5 where I had unpacked the source from here.

In /root/rpmbuild/SOURCES the ImageMagick-6.8.8-5.tar.bz2 file is there, and there are ImageMagick-6.8.8-5 folders under some of the other CAPITALISED folders, but no installable package.

Can anybody advise what I did wrong and how to recover please?

Re: Centos 6.x 64-bit installable rpm

Posted: 2014-02-13T13:32:04-07:00
by magick

Re: Centos 6.x 64-bit installable rpm

Posted: 2014-02-13T13:34:53-07:00
by DRY411S
Thank you. :)

At what point do I need to restart the build process?

As it's not available on your site, do you want a copy of what's produced? ;)

Re: Centos 6.x 64-bit installable rpm

Posted: 2014-02-13T13:38:42-07:00
by DRY411S
Trying

Code: Select all

#  rpm -Uvh ImageMagick-djvu-6.8.8-5.x86_64.rpm
get

Code: Select all

error: Failed dependencies:
        ImageMagick = 6.8.8-5 is needed by ImageMagick-djvu-6.8.8-5.x86_64
        libMagickCore-6.Q16.so.2()(64bit) is needed by ImageMagick-djvu-6.8.8-5.x86_64
        libdjvulibre.so.21()(64bit) is needed by ImageMagick-djvu-6.8.8-5.x86_64
        libfftw3.so.3()(64bit) is needed by ImageMagick-djvu-6.8.8-5.x86_64
        liblqr-1.so.0()(64bit) is needed by ImageMagick-djvu-6.8.8-5.x86_64
        libltdl.so.3()(64bit) is needed by ImageMagick-djvu-6.8.8-5.x86_64

Re: Centos 6.x 64-bit installable rpm

Posted: 2014-02-13T15:10:29-07:00
by magick
Try
  • yum install libtool-ltdl-devel fftw3-devel djvulibre-devel
    rpm -ivh --nodeps ImageMagick-6.8.8-5.x86_64.rpm ImageMagick-djvu-6.8.8-5.x86_64.rpm
We'll issue new RPM's in a few hours to resolve the liblqr dependency. Until then, the --nodeps option should allow you to install without liblqr.

Re: Centos 6.x 64-bit installable rpm

Posted: 2014-02-13T16:13:56-07:00
by DRY411S
OK, the first of those packages on the first line was already installed and skipped.
rpm ran OK

Testing convert

Code: Select all

# convert -version
convert: error while loading shared libraries: liblqr-1.so.0: cannot open shared object file: No such file or directory
So what next?

Sorry, I really have no idea what I'm doing. Just slavishly following instructions.

Re: Centos 6.x 64-bit installable rpm

Posted: 2014-02-13T18:07:30-07:00
by magick
Updated RPM's will be available in about an hour. Download / install and let us know if these work for you.

Re: Centos 6.x 64-bit installable rpm

Posted: 2014-02-14T00:25:08-07:00
by DRY411S
Let me just clarify (and thank you for your patience)
  • These are installable rpms, and not source that I need to compile?
  • I need both of them
Using the new overnight rpms from your site

wget http://www.imagemagick.org/download/lin ... x86_64.rpm
wget http://www.imagemagick.org/download/lin ... x86_64.rpm

Code: Select all

# rpm -ivh ImageMagick-6.8.8-6.x86_64.rpm ImageMagick-djvu-6.8.8-6.x86_64.rpm
error: Failed dependencies:
        libHalf.so.4()(64bit) is needed by ImageMagick-6.8.8-6.x86_64
        libIex.so.4()(64bit) is needed by ImageMagick-6.8.8-6.x86_64
        libIlmImf.so.4()(64bit) is needed by ImageMagick-6.8.8-6.x86_64
        libImath.so.4()(64bit) is needed by ImageMagick-6.8.8-6.x86_64
        libfpx.so.1()(64bit) is needed by ImageMagick-6.8.8-6.x86_64
        libltdl.so.3()(64bit) is needed by ImageMagick-6.8.8-6.x86_64
        libwebp.so.4()(64bit) is needed by ImageMagick-6.8.8-6.x86_64
        libdjvulibre.so.21()(64bit) is needed by ImageMagick-djvu-6.8.8-6.x86_64
        libltdl.so.3()(64bit) is needed by ImageMagick-djvu-6.8.8-6.x86_64
#
That's almost the exact same messages with the previous version, and what started on me trying to compile form source. :?

Re: Centos 6.x 64-bit installable rpm

Posted: 2014-02-14T06:39:45-07:00
by magick
Did you ever run this command?
  • yum install libtool-ltdl-devel fftw3-devel djvulibre-devel OpenEXR-devel llibwebp4
That resolves some of the dependencies. We'll need to reissue the RPM's once again to remove some of the dependencies that are not readily available from yum. Download the latest ImageMagick RPM's in a few hours and see if that resolves the dependencies.

Re: Centos 6.x 64-bit installable rpm

Posted: 2014-02-14T09:04:52-07:00
by DRY411S

Code: Select all

# yum install libtool-ltdl-devel fftw3-devel djvulibre-devel OpenEXR-devel llibwebp4
....
Install      14 Package(s)
...
Complete! (No errors)
# rpm -ivh ImageMagick-6.8.8-6.x86_64.rpm ImageMagick-djvu-6.8.8-6.x86_64.rpm
error: Failed dependencies:
        libHalf.so.4()(64bit) is needed by ImageMagick-6.8.8-6.x86_64
        libIex.so.4()(64bit) is needed by ImageMagick-6.8.8-6.x86_64
        libIlmImf.so.4()(64bit) is needed by ImageMagick-6.8.8-6.x86_64
        libImath.so.4()(64bit) is needed by ImageMagick-6.8.8-6.x86_64
        libfpx.so.1()(64bit) is needed by ImageMagick-6.8.8-6.x86_64
        libltdl.so.3()(64bit) is needed by ImageMagick-6.8.8-6.x86_64
        libwebp.so.4()(64bit) is needed by ImageMagick-6.8.8-6.x86_64
        libdjvulibre.so.21()(64bit) is needed by ImageMagick-djvu-6.8.8-6.x86_64
        libltdl.so.3()(64bit) is needed by ImageMagick-djvu-6.8.8-6.x86_64
#
All previous 9 dependencies still unresolved :(

Re: Centos 6.x 64-bit installable rpm

Posted: 2014-02-14T10:02:24-07:00
by magick
The libfpx.so.1 dependency suggests you do not have the most recent ImageMagick-6.8.8-6.x86_64.rpm file. Download it from http://www.imagemagick.org/download/lin ... OS/x86_64/. You can check the digest.rdf file in that folder to verify you have the correct version (compare the signatures). You may also need to run ldconfig to ensure all your new delegate libraries are cached properly. And do a spot check on one delegate library. For example you should find /usr/lib64/libHalf.so.4 on your system.

Re: Centos 6.x 64-bit installable rpm

Posted: 2014-02-21T13:09:16-07:00
by DRY411S
I have just downloaded the latest 64-bit 6.8.8.7 rpms

I ran the ldconfig command as suggested. I checked for /usr/lib64/libHalf.so.4 . It's not present.

Code: Select all

# ls -lsa /usr/lib64/libHalf*
  0 lrwxrwxrwx 1 root root     16 Feb 14 15:16 /usr/lib64/libHalf.so -> libHalf.so.6.0.0
  0 lrwxrwxrwx 1 root root     16 Feb 13 11:57 /usr/lib64/libHalf.so.6 -> libHalf.so.6.0.0
264 -rwxr-xr-x 1 root root 270104 Aug 19  2010 /usr/lib64/libHalf.so.6.0.0
I checked the yum install again

Code: Select all

# yum install libtool-ltdl-devel fftw3-devel djvulibre-devel OpenEXR-devel llibwebp4
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.vooservers.com
 * extras: mirrors.vooservers.com
 * updates: mirrors.vooservers.com
base                                                                                                                                                                                    | 3.7 kB     00:00
extras                                                                                                                                                                                  | 3.4 kB     00:00
updates                                                                                                                                                                                 | 3.4 kB     00:00
Setting up Install Process
Package libtool-ltdl-devel-2.2.6-15.5.el6.x86_64 already installed and latest version
Package fftw-devel-3.2.1-3.1.el6.x86_64 already installed and latest version
No package djvulibre-devel available.
Package OpenEXR-devel-1.6.1-8.1.el6.x86_64 already installed and latest version
No package llibwebp4 available.
Nothing to do
I tried the rpm install again with the new versions

Code: Select all

# rpm -ivh ImageMagick-6.8.8-7.x86_64.rpm ImageMagick-djvu-6.8.8-7.x86_64.rpm
error: Failed dependencies:
        libHalf.so.4()(64bit) is needed by ImageMagick-6.8.8-7.x86_64
        libIex.so.4()(64bit) is needed by ImageMagick-6.8.8-7.x86_64
        libIlmImf.so.4()(64bit) is needed by ImageMagick-6.8.8-7.x86_64
        libImath.so.4()(64bit) is needed by ImageMagick-6.8.8-7.x86_64
        libfpx.so.1()(64bit) is needed by ImageMagick-6.8.8-7.x86_64
        libltdl.so.3()(64bit) is needed by ImageMagick-6.8.8-7.x86_64
        libwebp.so.4()(64bit) is needed by ImageMagick-6.8.8-7.x86_64
        libdjvulibre.so.21()(64bit) is needed by ImageMagick-djvu-6.8.8-7.x86_64
        libltdl.so.3()(64bit) is needed by ImageMagick-djvu-6.8.8-7.x86_64
I just don't seem to be able to make any progress. I am lost. Please help.