Home » Linux » version LIBXML2_2.6.28 not defined in file libxml2.so.2 with link time reference

version LIBXML2_2.6.28 not defined in file libxml2.so.2 with link time reference

Starting httpd: httpd: Syntax error on line 22 of /etc/httpd/conf/httpd.conf:
Syntax error on line 1 of /etc/httpd/conf/extra/httpd-phpmodules.conf:
Cannot load /usr/lib/apache/libphp5.so into server: /usr/lib/apache/libphp5.so: symbol xmlTextReaderSetup,
version LIBXML2_2.6.28 not defined in file libxml2.so.2 with link time reference

Starting httpd: httpd: Syntax error on line 18 of /etc/httpd/conf/httpd.conf: Cannot load /usr/lib64/libxml2.so into server: /usr/lib64/libxml2.so: cannot open shared object file: No such file or directory

I get this errors in DirectAdmin with CentOS 5.6

This maybe is the way to solve the errors.

# cd /usr/local/directadmin/custombuild

# ./build clean

# ./build update

# ./build libxml2

# ./build php n

then

# ln -s /usr/local/lib/libxml2.so.2 /usr/lib64/libxml2.so

Tags:

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.