Wrong ELF class; libxml2
am 04.04.2010 23:08:37 von Al Sparks
I'm running CentOS 5.4 64bit, and I'm attempting to migrate an Apache web site from Apache 2.0 to Apache 2.2. The Apache 2.0 instance is running on an old Fedora 32bit machine.
On the new box (as well as the old) I've compiled and installed from the source.
Attempting to run off the 2.0 httpd.conf, I get the following error:
httpd: Syntax error on line 237 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/lib/libxml2.so into server: /usr/lib/libxml2.so: wrong ELF class: ELFCLASS32
I have both 32b and 64b libxml2 packages installed:
Installed Packages
libxml2.i386 2.6.26-2.1.2
libxml2.x86_64 2.6.26-2.1.2
libxml2-devel.i386 2.6.26-2.1.2
libxml2-devel.x86_64 2.6.26-2.1.2
libxml2-python.x86_64 2.6.26-2.1.2
Any hints?
=== Al
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Wrong ELF class; libxml2
am 04.04.2010 23:21:03 von Eric Covener
On Sun, Apr 4, 2010 at 5:08 PM, Al Sparks wrote:
> I'm running CentOS 5.4 64bit, and I'm attempting to migrate an Apache web=
site from Apache 2.0 to Apache 2.2. =A0The Apache 2.0 instance is running =
on an old Fedora 32bit machine.
>
> On the new box (as well as the old) I've compiled and installed from the =
source.
>
> Attempting to run off the 2.0 httpd.conf, I get the following error:
>
> =A0httpd: Syntax error on line 237 of /usr/local/apache2/conf/httpd.conf:=
Cannot load /usr/lib/libxml2.so into server: /usr/lib/libxml2.so: wrong EL=
F class: ELFCLASS32
>
> I have both 32b and 64b libxml2 packages installed:
>
> =A0Installed Packages
> =A0libxml2.i386 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 2.6.2=
6-2.1.2
> =A0libxml2.x86_64 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 2.6.26-=
2.1.2
> =A0libxml2-devel.i386 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 2.6.26-2.1.=
2
> =A0libxml2-devel.x86_64 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 2.6.26-2.1.2
> =A0libxml2-python.x86_64 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A02.6.26-2.1.2
>
See line 237 in your config. If you're using LoadFile in your 64-bit
webserver, point to the 64-bit libxml library.
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Wrong ELF class; libxml2
am 05.04.2010 07:46:07 von Al Sparks
As in /usr/lib64/
Got it.
=== Al
----- Original Message ----
From: Eric Covener
To: users@httpd.apache.org
Sent: Sun, April 4, 2010 1:21:03 PM
Subject: Re: [users@httpd] Wrong ELF class; libxml2
On Sun, Apr 4, 2010 at 5:08 PM, Al Sparks wrote:
> I'm running CentOS 5.4 64bit, and I'm attempting to migrate an Apache web site from Apache 2.0 to Apache 2.2. The Apache 2.0 instance is running on an old Fedora 32bit machine.
>
> On the new box (as well as the old) I've compiled and installed from the source.
>
> Attempting to run off the 2.0 httpd.conf, I get the following error:
>
> httpd: Syntax error on line 237 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/lib/libxml2.so into server: /usr/lib/libxml2.so: wrong ELF class: ELFCLASS32
>
> I have both 32b and 64b libxml2 packages installed:
>
> Installed Packages
> libxml2.i386 2.6.26-2.1.2
> libxml2.x86_64 2.6.26-2.1.2
> libxml2-devel.i386 2.6.26-2.1.2
> libxml2-devel.x86_64 2.6.26-2.1.2
> libxml2-python.x86_64 2.6.26-2.1.2
>
See line 237 in your config. If you're using LoadFile in your 64-bit
webserver, point to the 64-bit libxml library.
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org