Undefined symbols: _http_cgi_ssl_env
lighttpd 1.4.42 fails to build on OS X 10.11 El Capitan:
Undefined symbols for architecture x86_64: "_http_cgi_ssl_env", referenced from: _http_cgi_headers in liblightcomp_la-http-header-glue.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [liblightcomp.la] Error 1
lighttpd 1.4.41 didn't have this problem.
Updated by gstrauss over 1 year ago
Thanks for reporting. The function will need to move from response.c into a file that is part of liblightcomp.a.
As a workaround, you can comment out
if (con->ssl) http_cgi_ssl_env(srv, con);
in http-header-glue.c and mod_magnet.c. Things will then build and work fine, but without the feature added in b8b38f30 for #2511
Also available in: Atom