httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe Jr." <wmr...@gmail.com>
Subject Re: SSL and Apache Httpd 2.4.7 [was Re: 2.4.8 This Month]
Date Thu, 20 Feb 2014 02:40:15 GMT
First insight, did you ./config openssl, or ./config shared?  It seems near
impossible to use static openssl.  apr-util configure will fail since
pkgconfig isn't consulted properly.  httpd configure would also likely fail
for redundant symbols.

Second insight - apr-util version 1.5 includes openssl libs.  Once you are
linking against both apr-util and openssl, you can't choose a different
openssl. You will need to build apr-util against the -same- openssl.

Third insight - apr-util links to ldap, as does mod_authnz_ldap.
 libldap/liblber link to openssl.  Again, quite likely the system library.
 So, rebuild the openldap project as well against your newly built openssl.

Or you can configure apr-util --without-ldap and httpd sans
--enable-[authnz-]ldap

FTR I am betting dollars to donuts you are trying to use a static, not
shared build of openssl.  Please, don't do that :)


p.s interestingly, openssl 1.0.1f make install_docs totally fails at
man1/cms.1 with 'expected text after =item, not a number' under Fedora 20.
 Not that I attempt that arch for anything of substance.


On Wed, Feb 19, 2014 at 8:11 PM, William A. Rowe Jr. <wmrowe@gmail.com>wrote:

> You could try tweaking the deployed /usr/local/lib/pkgconfig/openssl.pc
> file to include -lz in Libs: (just after -ldl), and then re-./configure
>
>
> On Wed, Feb 19, 2014 at 7:52 PM, Tom Browder <tom.browder@gmail.com>wrote:
>
>> On Wed, Feb 19, 2014 at 8:39 PM, William A. Rowe Jr. <wmrowe@gmail.com>
>> wrote:
>> > I've noticed that openssl default builds do not necessarily add -lz to
>> the
>> > lib/pkgconfig/openssl.pc when they might be needed.  In any case I'm
>> going
>> > to guess you perhaps hadn't installed the zlib1g-dev package?
>>
>> No, it's installed.
>>
>> -Tom
>>
>
>

Mime
View raw message