Apache2

moocow

New member
Joined
Mar 8, 2006
Messages
4
Hi During the apache2 update i get the following error,

/usr/local/directadmin/customapache/httpd-2.0.55/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -D_REENTRANT -D_THREo
In file included from mod_ssl.h:93,
from mod_ssl.c:27:
/usr/include/openssl/err.h:289: error: redefinition of typedef 'ERR_FNS'
/usr/local/include/openssl/ossl_typ.h:152: error: previous declaration of 'ERR_FNS' was here
In file included from mod_ssl.h:98,
from mod_ssl.c:27:
/usr/include/openssl/rand.h:86: error: redefinition of typedef 'RAND_METHOD'
/usr/local/include/openssl/ossl_typ.h:131: error: previous declaration of 'RAND_METHOD' was here
*** Error code 1

Stop in /usr/local/directadmin/customapache/httpd-2.0.55/modules/ssl.
*** Error code 1

Stop in /usr/local/directadmin/customapache/httpd-2.0.55/modules/ssl.
*** Error code 1

Stop in /usr/local/directadmin/customapache/httpd-2.0.55/modules.
*** Error code 1

Stop in /usr/local/directadmin/customapache/httpd-2.0.55.


If anyone could help me or point me in the correct direction that would be great,

Thanks :)
 
What worked for me is the following:

cd /usr/local/directadmin/customapache
mv /usr/local/include/openssl /usr/local/include/openssl-old
./build update
./build clean
./build apache_2
 
Last edited:
Back
Top