[Auth_ldap] Compiling auth_ldap into apache

David Bishop david at bishop.dhs.org
Wed Feb 7 12:42:11 PST 2001


Today is unofficial follow-up-your-own-email day!  As such, I would like to
say that apparently, the version of ldap I am using is the one that comes
with Solaris 7.  This is evidenced by "head"ing ldap.h and seeing that it's
copyright Sun Microsystems, 1998.  Will that not work?	Do I need to install
one of the other SDK's, or can I hack around it?  Heh, well, change that
sentence to read "get someone else to hack around it and send me a diff" and
it would come closer to my skill level B-)

D.A.Bishop

On Wed, 07 Feb 2001 13:12:59 -0700, auth_ldap at rudedog.org said:

> Stupid question: how do I determine what SDK I am using? I looked for a
>  command along the lines of ldap-config (like gtk-config and the like) but
>  didn't find anything.  I'm not the main sysadmin on this box, so I don't know
>  the software installed inside and out like I should :-(
>  
>  On 07 Feb 2001 12:07:32 -0800, Dave Carrigan said:
>  
>  > "David Bishop" <david at bishop.dhs.org> writes:
>  >  
>  >  > bash-2.04$ make
>  >  > gcc -c -o auth_ldap.o -DSOLARIS2=251 -DUSE_EXPAT -I../lib/expat-lite
>  >  > -DWITH_OPENLDAP -I/u/wwwpe/apache_1.3.9/include -I/usr/include auth_ldap.c
>  >  > In file included from auth_ldap.c:19:
>  >  > auth_ldap.h:111: conflicting types for `ldap_search_ext_s'
>  >  > /usr/include/ldap.h:1031: previous declaration of `ldap_search_ext_s'
>  >  > auth_ldap.h:112: conflicting types for `ldap_memfree'
>  >  
>  >  This looks like the setting for WITH_OPENLDAP in the makefile doesn't
>  >  match the LDAP sdk that you're using.
>  >  
>  >  -- 
>  >  Dave Carrigan (dave at rudedog.org)            | Yow! HUMAN REPLICAS are inserted
>  >  UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-DNS | into VATS of NUTRITIONAL
>  >  Seattle, WA, USA                            | YEAST...
>  >  http://www.rudedog.org/                     | 
>  >  
>  




More information about the Auth_ldap mailing list