[BlueOnyx:19116] Re: imagick error after update RE: Similar but slightly different results here

webmaster webmaster at oldcabin.net
Mon Feb 8 16:31:02 -05 2016


On 2/8/2016 1:54 PM, Chris Gebhardt - VIRTBIZ Internet wrote:
> Resurrecting an oldie but goodie:
>
> On 8/29/2015 11:50 AM, Michael Stauber wrote:
>>> It looks like the SolarSpeed PHP is looking for libMagickWand.so.2 and
>>> libMagickCore.so.2 but the server now has libMagickWand.so.5 and
>>> libMagickCore.so.5
>> This is pretty sad. Looks like RedHat parted with the philosophy not to
>> deprecate libraries during minor updates like from 6.6 to 6.7. At least
>> as far as MagickWand is concerned.
>>
>> But it's a PECL module, so it's easy to fix:
>>
>> 1.) Check if you're affected. If the command ...
>>
>> /home/solarspeed/php/bin/php -m
>>
>> ... returns this, then you are affected:
>>
>> PHP Warning:  PHP Startup: Unable to load dynamic library
>> '/home/solarspeed/php/lib/php/20131226/imagick.so' - libMagickWand.so.2:
>> cannot open shared object file: No such file or directory in Unknown on
>> line 0
>>
>> 2.) In that case run this command. It will uninstall the "imagick" PECL
>> module:
>>
>> /home/solarspeed/php/bin/pecl uninstall imagick
>>
>> 3.) Next run this command to download, compile and reinstall the correct
>> "imagick" module:
>>
>> /home/solarspeed/php/bin/pecl install imagick
>>
>> That command will ask a question (or two?). Simply press return for it
>> to continue.
>>
>> That should fix it.
> I'm getting a ton of the aforementioned errors on one box.
>
> "/home/solarspeed/php/bin/php -m" returns:
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/home/solarspeed/php/lib/php/20100525/imagick.so' - libMagickWand.so.2:
> cannot open shared object file: No such file or directory in Unknown on
> line 0
>
> However,  /home/solarspeed/php/bin/pecl uninstall imagick returns:
> pecl/imagick not installed
>
> If I ignore that and move on to the next step, I get this:
>    /home/solarspeed/php/bin/pecl install imagick
> WARNING: channel "pecl.php.net" has updated its protocols, use "pecl
> channel-update pecl.php.net" to update
> downloading imagick-3.3.0.tgz ...
> Starting to download imagick-3.3.0.tgz (179,978 bytes)
> .....done: 179,978 bytes
> 17 source files, building
> running: phpize
> Configuring for:
> PHP Api Version:         20100412
> Zend Module Api No:      20100525
> Zend Extension Api No:   220100525
> shtool at '/tmp/pear/install/imagick/build/shtool' does not exist or is
> not executable.
> Make sure that the file exists and is executable and then rerun this script.
>
> ERROR: `phpize' failed
>
> Anybody have some ideas?
>



Similar but slightly different results here

[root at cabin2 admin]# /home/solarspeed/php/bin/php -m
Failed loading /home/solarspeed/ioncube/ioncube_loader_lin_5.4.so: 
/home/solarspeed/ioncube/ioncube_loader_lin_5.4.so: undefined symbol: 
execute
Zend Guard Loader requires Zend Engine API version 220090626.
The Zend Engine API version 220121212 which is installed, is newer.
Contact Zend Technologies at http://www.zend.com/ for a later version of 
Zend Guard Loader.

PHP Warning:  PHP Startup: Unable to load dynamic library 
'/home/solarspeed/php/lib/php/20121212/imagick.so' - libMagickWand.so.2: 
cannot open shared object file: No such file or directory in Unknown on 
line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/home/solarspeed/php/lib/php/20090626/sqlite.so' - 
/home/solarspeed/php/lib/php/20090626/sqlite.so: undefined symbol: 
zval_property_ctor in Unknown on line 0
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dba
dom
ereg
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
imap
intl
json
ldap
libxml
mbstring
mcrypt
mhash
mssql
mysql
mysqli
mysqlnd
odbc
openssl
pcre
PDFlib
PDO
pdo_mysql
Phar
posix
pspell
Reflection
session
shmop
SimpleXML
soap
sockets
SPL
sqlite3
ssh2
standard
tokenizer
wddx
xml
xmlreader
xmlrpc
xmlwriter
xsl
zip
zlib

[Zend Modules]

[root at cabin2 admin]# /home/solarspeed/php/bin/pecl uninstall imagick
Unable to remove "extension=imagick.so" from php.ini
uninstall ok: channel://pecl.php.net/imagick-3.1.2
[root at cabin2 admin]# /home/solarspeed/php/bin/pecl install imagick
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl 
channel-update pecl.php.net" to update
downloading imagick-3.3.0.tgz ...
Starting to download imagick-3.3.0.tgz (179,978 bytes)
......................................done: 179,978 bytes
17 source files, building
WARNING: php_bin /home/solarspeed/php/bin/php appears to have a suffix 
/bin/php, but config variable php_suffix does not match
running: phpize
Configuring for:
PHP Api Version:         20121113
Zend Module Api No:      20121212
Zend Extension Api No:   220121212
shtool at '/tmp/pear/install/imagick/build/shtool' does not exist or is 
not executable.
Make sure that the file exists and is executable and then rerun this script.

ERROR: `phpize' failed
[root at cabin2 admin]# /home/solarspeed/php/bin/pecl install imagick
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl 
channel-update pecl.php.net" to update
downloading imagick-3.3.0.tgz ...
Starting to download imagick-3.3.0.tgz (179,978 bytes)
......................................done: 179,978 bytes
17 source files, building
WARNING: php_bin /home/solarspeed/php/bin/php appears to have a suffix 
/bin/php, but config variable php_suffix does not match
running: phpize
Configuring for:
PHP Api Version:         20121113
Zend Module Api No:      20121212
Zend Extension Api No:   220121212
shtool at '/tmp/pear/install/imagick/build/shtool' does not exist or is 
not executable.
Make sure that the file exists and is executable and then rerun this script.

ERROR: `phpize' failed







More information about the Blueonyx mailing list