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
Thanks Andreas it compiles now.. --- Glynn --- - Original Message - From: "Glynn S. Condez" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 11, 2002 4:12 PM Subject: Re: mod_authz_ldap compiling error > From: "Andreas Mueller" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, October 11, 2002 3:38 PM > Subject: 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. > > > 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? > > Thanks Andreas > > Glynn > > > > > 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] > > > > __ > OpenSSL Project http://www.openssl.org > User Support Mailing List[EMAIL PROTECTED] > Automated List Manager [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
From: "Andreas Mueller" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 11, 2002 3:38 PM Subject: 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. 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? Thanks Andreas Glynn > > 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] > __ 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]
mod_authz_ldap compiling error
Hello gurus, I have this problem while compiling the mod_authz_ldap Here is my configure script: CPPFLAGS=-I/usr/local/include \ < my openldap includes are here. LDFLAGS=-L/usr/local/lib \ < Openldap libraries are here also. ./configure --with-apxs=/u1/apachessl/bin/apxs certmap.c:14:17: pem.h: No such file or directory apxs:Break: Command failed with rc=1 make[2]: *** [mod_authz_ldap.so] Error 1 make[2]: Leaving directory `/u1/src/openldap/mod_authz_ldap-0.22/module' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/u1/src/openldap/mod_authz_ldap-0.22' make: *** [all] Error 2 What should be the problem, any guide or idea on how to resolve this problem? TIA --- Glynn --- __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]