RE: mod_ssl in Apache 2.2.15

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for the reply.

Joost, when I ran ldd, I got these two lines related to ssl. Does it mean that it is ok?

libssl.so.0.9.8 => /apache-2.2.15/lib/libssl.so.0.9.8 (0x00002b37889ba000)
libssl.so.6 => /lib64/libssl.so.6 (0x00002b3789707000)

Jaqui, I am not sure how I can test it as I can't even start httpd because of the error.

Any help would be greatly appreciated. Thanks.

Jackie


-----Original Message-----
From: Joost de Heer [mailto:joost@xxxxxxxxxxxxxxxxx] 
Sent: Tuesday, August 03, 2010 8:40 PM
To: users@xxxxxxxxxxxxxxxx
Subject: Re:  mod_ssl in Apache 2.2.15

On 08/02/2010 06:52 PM, Jackie.Wong@xxxxxxxxxxxxxxxxxxx wrote:
> Hi,
>
> I have downloaded the source of apache 2.2.15 and compiled it with openssl.
> Then I downloaded mod_authz_ldap 0.29 from http://authzldap.othello.ch/ and
> compiled it with no issues. I did specify apr-1-config, apu-1-config, apxs and
> openssl when running ./configure. Here is the command I used:
>
> ./configure --with-openssl-path=/apache-2.2.15/include/openssl
> --with-apr=/apache-2.2.15/bin/apr-1-config
> --with-apu=/apache-2.2.15/bin/apu-1-config --with-apxs=/apache-2.2.15/bin/apxs
>
> Then I ran the make command. When it was finished, there was a file called
> "mod_authz_ldap.so.0.0.0" created under modules/.lib. I renamed it to
> mod_authz_ldap.so and copied it to the modules directory under apache 2.2.15.
>
> However, when I started httpd, it complained about "undefined symbol:
> ssl_var_lookup". I searched on google and this is a function in mod_ssl. I did
> have the LoadModule line for mod_ssl before the LoadModule line for
> mod_authz_ldap in httpd.conf. I assume mod_ssl will be loaded before
> mod_authz_ldap. Is this correct? If yes, can someone please advise why it
> doesn't work?

Judging by the strange --with-openssl-path in the configure: The module doesn't 
know where to find the SSL libraries.

Try 'ldd /path/to/mod_authz_ldap.so' and see if the SSL library is found. If 
not, you need to set your LD_LIBRARY_PATH to /path/to/ssl-lib. Don't forget to 
add this to your startup scripts too.

Joost


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

_______________________________________________

This e-mail may contain information that is confidential, privileged or otherwise protected from disclosure. If you are not an intended recipient of this e-mail, do not duplicate or redistribute it by any means. Please delete it and any attachments and notify the sender that you have received it in error. Unless specifically indicated, this e-mail is not an offer to buy or sell or a solicitation to buy or sell any securities, investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Barclays. Any views or opinions presented are solely those of the author and do not necessarily represent those of Barclays. This e-mail is subject to terms available at the following link: www.barcap.com/emaildisclaimer. By messaging with Barclays you consent to the foregoing.  Barclays Capital is the investment banking division of Barclays Bank PLC, a company registered in England (number 1026167) with its registered office at 1 Churchill Place, London, E14 5HP.  This email may relate to or be sent from other members of the Barclays Group.
_______________________________________________

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux