Project

General

Profile

Bug #2757

Undefined symbols: _http_cgi_ssl_env

Added by ryandesign 6 months ago. Updated 6 months ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
build_autotools
Target version:
Start date:
2016-10-17
Due date:
% Done:

100%

Missing in 1.5.x:

Description

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[3]: *** [liblightcomp.la] Error 1

lighttpd 1.4.41 didn't have this problem.

main.log View (93.8 KB) ryandesign, 2016-10-17 02:29

Associated revisions

Revision ab07c711 (diff)
Added by gstrauss 6 months ago

[autobuild] move http_cgi_ssl_env() for Mac OS X (fixes #2757)

move http_cgi_ssl_env() from response.c to http-header-glue.c
for symbol visibility on Mac OS X.

x-ref:
"Undefined symbols: _http_cgi_ssl_env"
https://redmine.lighttpd.net/issues/2757

History

#1 Updated by gstrauss 6 months 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

#2 Updated by gstrauss 6 months ago

  • Status changed from New to Patch Pending
  • Target version changed from 1.4.x to 1.4.43

#3 Updated by gstrauss 6 months ago

  • Status changed from Patch Pending to Fixed
  • % Done changed from 0 to 100

Also available in: Atom