DeveloperSide.NET Forums

DeveloperSide.NET => Building a Web Server, for Linux => Topic started by: Josh on August 26, 2005, 05:47:04 PM



Title: another apache compiling problem (with openssl)
Post by: Josh on August 26, 2005, 05:47:04 PM
Hi all,

First, thanks for the incredible resource you've developed here!  devside.net rocks!

Ok, on to business...

I have followed the guides for installing zlib and openssl for linux.  Everything appeared to install just fine, but now when I go to install apache I get this error:

ssl_engine_pphrase.c: In function `ssl_pphrase_Handle_CB':
ssl_engine_pphrase.c:684: `PEM_F_DEF_CALLBACK' undeclared (first use in this function)
ssl_engine_pphrase.c:684: (Each undeclared identifier is reported only once
ssl_engine_pphrase.c:684: for each function it appears in.)
make[4]: *** [ssl_engine_pphrase.slo] Error 1
make[4]: Leaving directory `/home/admin/httpd-2.0.54/modules/ssl'
make[3]: *** [shared-build-recursive] Error 1
make[3]: Leaving directory `/home/admin/httpd-2.0.54/modules/ssl'
make[2]: *** [shared-build-recursive] Error 1
make[2]: Leaving directory `/home/admin/httpd-2.0.54/modules'
make[1]: *** [shared-build-recursive] Error 1
make[1]: Leaving directory `/home/admin/httpd-2.0.54'

From reading through the forums I think it has something to do with ldconfig not linking the new openssl libraries properly.  the previous version I was running was 0.9.7a  and I upgraded to 0.9.8.  

[root@dlnx2011 lib]# openssl version
OpenSSL 0.9.8 05 Jul 2005

Seems to be fine, and I also copied

-r-xr-xr-x    1 root     root      1316502 Aug 26 10:40 libcrypto.so.0.9.8
-r-xr-xr-x    1 root     root       257435 Aug 26 10:40 libssl.so.0.9.8

to /lib

(but
-r-xr-xr-x    1 root     root      1316502 Aug 26 10:40 libcrypto.so.0.9.7a
-r-xr-xr-x    1 root     root       257435 Aug 26 10:40 libssl.so.0.9.7a
are both sitting in /lib as well)

Any ideas of what I need to do to fix this?

Thanks for the help!


Title: another apache compiling problem (with openssl)
Post by: admin on August 26, 2005, 06:40:08 PM
To build mod_ssl, with openssl v0.9.8, you need to patch the openssl code...
http://forums.devside.net/viewtopic.php?t=740


Title: another apache compiling problem (with openssl)
Post by: Josh on August 26, 2005, 07:08:57 PM
Thanks admin!

Worked like a charm!