You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Al Sparks <da...@yahoo.com> on 2010/04/27 01:16:56 UTC

[users@httpd] Compiling httpd-2.0.63 on CentOS 64bit

I'm trying to compile httpd-2.0.63 on a CentOS 5.4 64bit distro.

I am getting the error:

   /usr/lib/libexpat.so: could not read symbols: File in wrong format
   collect2: ld returned 1 exit status

I think that means that it should be looking for a 64 bit version of that .so file.

As it happens, there is also a file by that name in
   /usr/lib64

I tried renaming the 32 bit version of /usr/lib/libexpat.so to see if it would then try the 64 bit version, but with no joy.

What am I doing wrong?

Also, any other "gotchas" in compiling on a 64 bit linux distro would be appreciated.
   === Al


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> 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: [users@httpd] Compiling httpd-2.0.63 on CentOS 64bit

Posted by Al Sparks <da...@yahoo.com>.
Never mind.
   --with-expat=builtin
took care of it.
   === Al



----- Original Message ----
From: Al Sparks <da...@yahoo.com>
To: Apache Users <us...@httpd.apache.org>
Sent: Mon, April 26, 2010 3:16:56 PM
Subject: [users@httpd] Compiling httpd-2.0.63 on CentOS 64bit

I'm trying to compile httpd-2.0.63 on a CentOS 5.4 64bit distro.

I am getting the error:

   /usr/lib/libexpat.so: could not read symbols: File in wrong format
   collect2: ld returned 1 exit status

I think that means that it should be looking for a 64 bit version of that .so file.

As it happens, there is also a file by that name in
   /usr/lib64

I tried renaming the 32 bit version of /usr/lib/libexpat.so to see if it would then try the 64 bit version, but with no joy.

What am I doing wrong?

Also, any other "gotchas" in compiling on a 64 bit linux distro would be appreciated.
   === Al


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> 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 <URL:http://httpd.apache.org/userslist.html> 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