Runtime error: Bad ELF flags (apache-1.3.26+ssl-1.48)

I'm trying to upgrade our Apache+SSL implementation so
we don't get zapped by the recent Apache exploit, and
I'm getting the following runtime error:

$ /usr/local/apache/bin/httpsdctl configtest
ld.so.1: /usr/local/apache/bin/httpsd: fatal:
/usr/local/apache/libexec/libhttpsd.so: bad ELF flags value: 2
Killed

This was just compiled using gcc 3.0.4, none of the binaries
get stripped during installation as far as I can tell. The files
would seem to be compatible:

$ file /usr/local/apache/bin/httpsd
/usr/local/apache/bin/httpsd: ELF 64-bit MSB executable SPARCV9 Version 1,
dynamically linked, not stripped

$ file /usr/local/apache/libexec/libhttpsd.so
/usr/local/apache/libexec/libhttpsd.so: ELF 64-bit MSB dynamic lib SPARCV9
Version 1, dynamically linked, not stripped

Any ideas?

Dave

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
David Foster National Center for Microscopy and Imaging Research
Programmer/Analyst University of California, San Diego
dfoster at ucsd.edu Department of Neuroscience, Mail 0608
(858) 534-7968 http://ncmir.ucsd.edu/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

"The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore, all progress
depends on the unreasonable." -- George Bernard Shaw

[1581 byte] By [CodeProf.com] at [2007-12-24 23:01:00]