Re: Trying to Link Statically to Libcrypto
Brandon, Am 16.07.2011 um 10:59 schrieb brandon...@aol.com: Actually, I believe it said that openldap.so was complaining that they were It would certainly help if you actually knew what it was saying, not just believed it! And wasn't it rather libldap.so, not openldap.so. Of course, libldap.so is usually provided by some openldap package. I am already linking in -lldap. Will -lopenldap work better? He certainly meant -lldap (the library is called libldap.so, so the linker flag is called -lldap). If your library really is called openldap.so (which I very much doubt), then you can not link it with the -l option, you have to add the fully qualified path name of that library to the linker command line. Any idea what library I can link in to define the above two references? Link to OpenSSL first, and then OpenLdap (order matters): gcc ... -lcrypto -lopenldap What was meant is -lldap -lcrypto. Libraries later in later flags have to satisfy references left open by earlier libraries. I am writing some C++ on Linux with g++. When I try to link statically to libcrypto, by using the libcrypto.a library, it complains that You are linking statically to a library that some other library, namely libldap, want's to link dynamically. How's that supposed to work? Static linking means you have a copy of libcrypto in your binary, with the symbols of that library removed, because they have already been resolved. Then libldap gets linked, and wants to know about the same symbols once again, so a shared copy of the library libcrypto has to be added to the address space. What a mess. So the real question is: WTH are you trying to link statically! Mit herzlichem Gruss Andreas Müller -- Prof. Dr. Andreas Müller, Beratung und Entwicklung Bubental 53, CH - 8852 Altendorf Email: andreas.muel...@othello.ch Voice: +41 55 4621483 Fax: +41 55 4621482 __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org Automated List Manager majord...@openssl.org
Re: mod_authz_ldap compiling error
On Fri, 11 Oct 2002, Glynn S. Condez wrote: On Fri, 11 Oct 2002, Glynn S. Condez wrote: certmap.c:14:17: pem.h: No such file or directory pem.h is a OpenSSL header, so you should add the openssl includes directory to your CPPFLAGS. CPPFLAGS=-I/usr/local/include /usr/local/ssl/include/openssl LDFLAGS=-L/usr/local/lib ./configure --with-apxs=/u1/apachessl/bin/apxs Could this be work? The compile would probably work, but the link may fail. It de pends on where you have the openssl libraries (libcrypto.so most importantly), if you don't have them in /usr/local/lib or some other search path component of the linker, you will need to add your lib directory (/usr/local/ssl/lib?) to the LDFLAGS. Mit herzlichem Gruss Andreas Mueller -- Dr. Andreas Mueller, Beratung und Entwicklung CH-8852 Altendorf Switzerland Tel: +41 55 4621483 Fax: +41 55 4621485 [EMAIL PROTECTED] __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: mod_authz_ldap compiling error
On Fri, 11 Oct 2002, Glynn S. Condez wrote: certmap.c:14:17: pem.h: No such file or directory pem.h is a OpenSSL header, so you should add the openssl includes directory to your CPPFLAGS. Mit herzlichem Gruss Andreas Mueller -- Dr. Andreas Mueller, Beratung und Entwicklung CH-8852 Altendorf Switzerland Tel: +41 55 4621483 Fax: +41 55 4621485 [EMAIL PROTECTED] __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
RE: new release of mod_authz_ldap
On Fri, 11 Oct 2002, Jose Correia (J) wrote: The module is still not available at: http://authzldap.othello.ch/download.html Thanks for pointing that out, the download page was not updated. The directory contained the new version, though. The update of the download page has now been automated. Mit herzlichem Gruss Andreas Mueller -- Dr. Andreas Mueller, Beratung und Entwicklung CH-8852 Altendorf Switzerland Tel: +41 55 4621483 Fax: +41 55 4621485 [EMAIL PROTECTED] __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
RE: Apache 2.0.39 + ssl + ldap with client certificate authentication
On Wed, 2 Oct 2002, Sarath Chandra M wrote: Dear Jose, I had looked at the site u mentioned. But my problem is in applying the patch (http://authzldap.othello.ch/modssl-patch.html) to mod_ssl as said in the installation page of the same site. If you could tell me how to apply this patch, then I can go ahead and try. I'm right now working on a new release of the module that is sup posed to support apache2, hopefully I'll get that out of the door today or tomorrow. Mit herzlichem Gruss Andreas Mueller -- Dr. Andreas Mueller, Beratung und Entwicklung CH-8852 Altendorf Switzerland Tel: +41 55 4621483 Fax: +41 55 4621485 [EMAIL PROTECTED] __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]