I need help very quickly: Apache not building anymore

edw

New member
Joined
Mar 8, 2019
Messages
2
Hallo,

I can't build my apache anymore after trying some updating and have messed up a lot i think. I wanted to use http2 on my server, so I've updated openssl, and that wasn't working so I tried some other versions of openssl. Now i want to build apache, but I'm getting this error:

Code:
modules/ssl/.libs/libmod_ssl.a(ssl_engine_init.o): In function `ssl_init_ctx_tls_extensions':
ssl_engine_init.c:(.text+0x1483): undefined reference to `SRP_VBASE_new'
ssl_engine_init.c:(.text+0x1564): undefined reference to `SRP_VBASE_init'
ssl_engine_init.c:(.text+0x160a): undefined reference to `SSL_CTX_set_srp_username_callback'
ssl_engine_init.c:(.text+0x1621): undefined reference to `SSL_CTX_set_srp_cb_arg'
modules/ssl/.libs/libmod_ssl.a(ssl_engine_init.o): In function `ssl_init_ctx_cleanup':
ssl_engine_init.c:(.text+0x4713): undefined reference to `SRP_VBASE_free'
modules/ssl/.libs/libmod_ssl.a(ssl_engine_kernel.o): In function `ssl_hook_Access_classic':
ssl_engine_kernel.c:(.text+0x17c3): undefined reference to `SSL_get_srp_username'
modules/ssl/.libs/libmod_ssl.a(ssl_engine_kernel.o): In function `ssl_callback_SRPServerParams':
ssl_engine_kernel.c:(.text+0x88e4): undefined reference to `SSL_get_srp_username'
ssl_engine_kernel.c:(.text+0x8909): undefined reference to `SRP_VBASE_get_by_user'
ssl_engine_kernel.c:(.text+0x8962): undefined reference to `SSL_set_srp_server_param'
modules/ssl/.libs/libmod_ssl.a(ssl_engine_vars.o): In function `ssl_var_lookup_ssl':
ssl_engine_vars.c:(.text+0x15bd): undefined reference to `SSL_get_srp_username'
ssl_engine_vars.c:(.text+0x160f): undefined reference to `SSL_get_srp_userinfo'
collect2: ld returned 1 exit status
make[1]: *** [httpd] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.4.38'
make: *** [all-recursive] Error 1

I want the default http1 and apache, how can i get this back?
 
Hello,

Remove all custom versions of OpenSSL and re-build Apache.

The simplest way to get HTTP/2 working I would suggest installing NGINX in front of Apache, as NGINX can be much easier compiled with a custom OpenSSL version.
 
Back
Top