You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2012/12/26 13:02:42 UTC

[Bug 54252] acinclude.m4 requires -lz when linking with ssl static libraries

https://issues.apache.org/bugzilla/show_bug.cgi?id=54252

--- Comment #1 from Kaspar Brand <as...@velox.ch> ---
(In reply to comment #0)
> openssl is  linked with -lz, so acinclude.m4 needs this modification for
> static libraries.
> 
> Maybe this should be using pkg-config instead ?

AFAICT, using pkg-config wouldn't solve this particular problem,
unfortunately... "-lz" would only appear in pkg-config's --libs output if
pkg-config was called with" --static" - and that's something we don't want to
unconditionally add to pkg-config calls in acinclude.m4/configure.

Calling configure with LDFLAGS=-lz might be a workaround for you, but for a
more thorough fix, we would have to add another configure option, I guess
(comparable to the --enable-static-* options for the support binaries).

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org