error upgrading apache 2.2.9

Frej

Verified User
Joined
Jun 15, 2008
Messages
134
/usr/lib/libexpat.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[2]: *** [htpasswd] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.2.9/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.2.9/support'
make: *** [all-recursive] Error 1

please advice. Got 1.32.2 installed
 
you have system with 64bit?

if you have Could you please run

$ file /usr/lib/libexpat.so

and send us the output? Also, could you paste us the make output line
immediately preceding the error?

An alternative for you would be to specify --with-expat=builtin to
the configure script. This should force the build process to use the
bundled copy of Expat rather than what it finds on the system.

you are running a 64 bits linux machine and you are trying to
link a 64 bits objects with a 32 bits shared lib.
 
Last edited:
Back
Top