View Full Version : [ubuntu] php5 libxml2 no version information available error

February 10th, 2012, 01:31 PM
Hi there,

I keep getting hourly email messages from the root cron relating to php startup error messages:


Cron <root@hostname> [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm

Message content (snipped)

php5: /usr/local/lib/libxml2.so.2: no version information available (required by php5)

Running php -v from a prompt reveals the same:

php -v
php: /usr/local/lib/libxml2.so.2: no version information available (required by php)
php: /usr/local/lib/libxml2.so.2: no version information available (required by php)
PHP 5.3.3-1ubuntu9.9 with Suhosin-Patch (cli) (built: Feb 9 2012 06:37:37)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

I did an "apt-get upgrade php5-cli", hence the recent build date.

Doing a locate on libxml2.so reveals:



FYI, 64bit install on RS cloud.
Linux cfpbbh1 #8 SMP Mon Sep 20 15:54:33 UTC 2010 x86_64 GNU/Linux

This has me baffled, and google isn't helping too much, nothing ubuntu specific at least, lots of cpanel/directadmin options but these arent installed... can anyone help?

Many thanks