Re: Error in libxml2.so.2
Quote:
Originally Posted by
junioraoc
Code:
root@hosted-by:~# service apache2 start
* Starting web server apache2
apache2: Syntax error on line 203 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load: Cannot load /usr/lib/apache2/modules/libphp5.so into server: libxml2.so.2: wrong ELF class: ELFCLASS32
Action 'start' failed.
The Apache error log may have more information.
[fail]
root@hosted-by:~#
Already changed the libxml2.so.2, but the error continues.
Thank you!
Have you tried re-installing libxml2?
rm /lib/libxml2.so.2; aptitude reinstall libxml2
or
sudo apt-get --purge [strike]remove[/strike] libxml2
sudo apt-get install libxml2
Re: Error in libxml2.so.2
unless the structure of that command changed you can do just "sudo apt-get purge libxml2"
Re: Error in libxml2.so.2
Yes, thought that remove was not meant to be there [s]My Bad[/s]
Re: Error in libxml2.so.2
Your java = 64 bit, your lib = 32 bit, now guess what the issue could be knowing that you can't load 32 bit libs into 64 bit address space due to different byte alignments and default sizes...
Re: Error in libxml2.so.2
Quote:
Originally Posted by
argonaut
Have you tried re-installing libxml2?
rm /lib/libxml2.so.2; aptitude reinstall libxml2
or
sudo apt-get --purge [strike]remove[/strike] libxml2
sudo apt-get install libxml2
Well, with this command:
Code:
# apt-get - purge remove libxml2
# apt-get install libxml2
It worked perfect!
But it has a problem, this command deletes all programs php5, phpmyadmin etc., had to install again.
At least it worked for me.
Thank you.