Good work Jeff.  It should be noted that, even without the library name 
changes... there would likely be incompatibilities.  If you upgrade any other 
dependencies, you likely also need to recompile PHP or at least that PHP module 
against the new library or you'll experience linking issues.  The name change 
of libWand to libMagickWand shouldn't really matter, what matters is that 
php53u-imagick would need to be built against the version if ImageMagick you're 
using... and then it should work fine.

---
BJ Dierkes, RHCE
Linux Systems Engineer IV - [RH]acker
OS Deployment Team, RPM Development
Rackspace Hosting

On Mar 3, 2011, at 10:46 AM, Jeff Ness wrote:

> Ok Nicholas,
> 
> I believe I tracked down the culprit:
> 
> The new ImageMagick RPM you are using does not include libWand.so and 
> libMagick.so:
> 
> # rpm -q ImageMagick -l | egrep 'libWand|libMagick'
> /usr/lib64/libMagickCore.so.4
> /usr/lib64/libMagickCore.so.4.0.1
> /usr/lib64/libMagickWand.so.4
> /usr/lib64/libMagickWand.so.4.0.1
> --
> 
> I checked the Changelog from ImageMagick's Source and found they change the 
> library awhile back:
> 
> 2008-02-03  6.3.8-5 Cristy  <quetzlzacatenango@image...>
> * New Unix/Linux refactoring (should be transparent since changes are
>   reflected in Magick-config and ImageMagick.pc pkg-config files):
>     /usr/local/include => /usr/local/include/ImageMagick
>     libMagick => libMagickCore
>     libWand => libMagickWand
>     Magick-config (deprecated) => MagickCore-config
>     Wand-config (deprecated) => MagickWand-config
>     Add Magick++-config, MagickCore.pc, MagickWand.pc, Magick++.pc
> --
> 
> However since we are building against Redhat's stock ImageMagick the PECL 
> module is being linked against libWand.so and libMagick.so:
> 
> # ldd usr/lib64/php/modules/imagick.so 
>        libWand.so.10 => not found
>        libMagick.so.10 => not found
>        libc.so.6 => /lib64/libc.so.6 (0x00002b6e0f742000)
>        /lib64/ld-linux-x86-64.so.2 (0x0000003383600000)
> 
> ---
> Jeffrey Ness
> Linux System Engineer
> Infrastructure Services [Development]
> Rackspace Hosting
> 
> On Mar 3, 2011, at 9:25 AM, NICHOLAS KLINE wrote:
> 
>> Hi, Jeff. Thank you for the quick, helpful reply.
>> 
>>> Can you check and see if you have ImageMagick installed on your system:
>>> rpm -q ImageMagick
>> 
>> ImageMagick-6.6.3-9
>> 
>> 
>>> If it is can you provide us with the full informational output of the 
>>> package:
>>> rpm -qi ImageMagick
>> 
>> Name        : ImageMagick                  Relocations: (not relocatable)
>> Version     : 6.6.3                             Vendor: (none)
>> Release     : 9                             Build Date: Sun 22 Aug
>> 2010 05:18:47 PM EDT
>> Install Date: Tue 24 Aug 2010 11:59:13 AM EDT      Build Host:
>> eslv14.es.dupont.com
>> Group       : Applications/Multimedia       Source RPM:
>> ImageMagick-6.6.3-9.src.rpm
>> Size        : 6989999                          License:
>> http://www.imagemagick.org/script/license.php
>> Signature   : (none)
>> URL         : http://www.imagemagick.org/
>> Summary     : An X application for displaying and manipulating images.
>> Description :
>> ImageMagick(TM) is an image display and manipulation tool for the X
>> Window System. ImageMagick can read and write JPEG, TIFF, PNM, GIF,
>> and Photo CD image formats. It can resize, rotate, sharpen, color
>> reduce, or add special effects to an image, and when finished you can
>> either save the completed work in the original format or a different
>> one. ImageMagick also includes command line programs for creating
>> animated or transparent .gifs, creating composite images, creating
>> thumbnail images, and more.
>> ImageMagick is one of your choices if you need a program to manipulate
>> and dis play images. If you want to develop your own applications
>> which use ImageMagick code or APIs, you need to install
>> ImageMagick-devel as well.
>> 
>> 
>> If I had to take a guess at the problem, I would guess that the IUS
>> imagick package is looking for an older version of ImageMagick. I am
>> not using the stock RHEL ImageMagick but instead a newer version
>> installed from 
>> ftp://ftp.imagemagick.org/pub/ImageMagick/linux/CentOS/x86_64/ImageMagick-6.6.3-9.x86_64.rpm
>> -  just a guess though.
>> 
>> Thanks!
>> 
>> Nick
>> 
>> 
>> 
>> On Thu, Mar 3, 2011 at 9:55 AM, Jeff Ness <[email protected]> wrote:
>>> Hello Nicholas,
>>> 
>>> It seems you may be missing the package ImageMagick or the version you have 
>>> is not compatible.
>>> 
>>> You will notice below the missing dependencies you are noting above are 
>>> linked to the ImageMagick package:
>>> 
>>> # rpm -q /usr/lib64/libWand.so.10 -f
>>> ImageMagick-6.2.8.0-4.el5_5.3.x86_64
>>> 
>>> # rpm -q /usr/lib64/libMagick.so.10 -f
>>> ImageMagick-6.2.8.0-4.el5_5.3.x86_64
>>> 
>>> This package is a stock Redhat Package as seen below:
>>> 
>>> # rpm -qi ImageMagick-6.2.8.0-4.el5_5.3.x86_64
>>> Name        : ImageMagick                  Relocations: (not relocatable)
>>> Version     : 6.2.8.0                           Vendor: Red Hat, Inc.
>>> Release     : 4.el5_5.3                     Build Date: Wed 06 Oct 2010 
>>> 08:43:54 AM CDT
>>> Install Date: Mon 03 Jan 2011 07:37:17 PM CST      Build Host: 
>>> x86-003.build.bos.redhat.com
>>> Group       : Applications/Multimedia       Source RPM: 
>>> ImageMagick-6.2.8.0-4.el5_5.3.src.rpm
>>> Size        : 11807270                         License: freeware
>>> Signature   : DSA/SHA1, Wed 20 Oct 2010 07:37:56 AM CDT, Key ID 
>>> 5326810137017186
>>> Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
>>> URL         : http://www.imagemagick.org/
>>> Summary     : An X application for displaying and manipulating images.
>>> Description :
>>> ImageMagick(TM) is an image display and manipulation tool for the X
>>> Window System. ImageMagick can read and write JPEG, TIFF, PNM, GIF,
>>> and Photo CD image formats. It can resize, rotate, sharpen, color
>>> reduce, or add special effects to an image, and when finished you can
>>> either save the completed work in the original format or a different
>>> one. ImageMagick also includes command line programs for creating
>>> animated or transparent .gifs, creating composite images, creating
>>> thumbnail images, and more.
>>> 
>>> ImageMagick is one of your choices if you need a program to manipulate
>>> and dis play images. If you want to develop your own applications
>>> which use ImageMagick code or APIs, you need to install
>>> ImageMagick-devel as well.
>>> 
>>> ==
>>> 
>>> Can you check and see if you have ImageMagick installed on your system:
>>> 
>>> rpm -q ImageMagick
>>> 
>>> If it is can you provide us with the full informational output of the 
>>> package:
>>> 
>>> rpm -qi ImageMagick
>>> 
>>> If it is not installed, and you can not install it from 'yum', your server 
>>> may have a issue connecting to your Redhat/CentOS mirrors.
>>> 
>>> ---
>>> Jeffrey Ness
>>> Linux System Engineer
>>> Infrastructure Services [Development]
>>> Rackspace Hosting
>>> 
>>> On Mar 2, 2011, at 6:19 PM, NICHOLAS KLINE wrote:
>>> 
>>>> --> Missing Dependency: libWand.so.10()(64bit) is needed by package
>>> 
>>> 
>>> 
>>> Confidentiality Notice: This e-mail message (including any attached or
>>> embedded documents) is intended for the exclusive and confidential use of 
>>> the
>>> individual or entity to which this message is addressed, and unless 
>>> otherwise
>>> expressly indicated, is confidential and privileged information of 
>>> Rackspace.
>>> Any dissemination, distribution or copying of the enclosed material is 
>>> prohibited.
>>> If you receive this transmission in error, please notify us immediately by 
>>> e-mail
>>> at [email protected], and delete the original message.
>>> Your cooperation is appreciated.
>>> 
>>> 
> 
> 
> 
> Confidentiality Notice: This e-mail message (including any attached or
> embedded documents) is intended for the exclusive and confidential use of the
> individual or entity to which this message is addressed, and unless otherwise
> expressly indicated, is confidential and privileged information of Rackspace.
> Any dissemination, distribution or copying of the enclosed material is 
> prohibited.
> If you receive this transmission in error, please notify us immediately by 
> e-mail
> at [email protected], and delete the original message.
> Your cooperation is appreciated.
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~ius-community
> Post to     : [email protected]
> Unsubscribe : https://launchpad.net/~ius-community
> More help   : https://help.launchpad.net/ListHelp







_______________________________________________
Mailing list: https://launchpad.net/~ius-community
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ius-community
More help   : https://help.launchpad.net/ListHelp

Reply via email to