[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nssldap
Subject:    Re: [nssldap] trouble compiling pam_ldap 150 on Solaris 9 sparc w/ fix
From:       Luke Howard <lukeh () PADL ! COM>
Date:       2002-07-12 23:34:15
[Download RAW message or body]


OK, we will fix this in pam_ldap-151. Your fix is the right idea, although
not quite correct.

SSL should work on Solaris 9 with the fix we previously discussed although
Sun won't support SSL in their client library with third-party
applications. But as Sun don't support PADL's modules on Solaris, you've
already made that decision as a user :-)

-- Luke

>From: Jim Harle <harle@usna.edu>
>Subject: [nssldap] trouble compiling pam_ldap 150 on Solaris 9 sparc w/ fix
>To: nssldap@padl.com
>Date: Wed, 10 Jul 2002 16:45:18 -0400 (EDT)
>
>In attempting to compile pam_ldap v 150 on Solaris 9 with gcc 3.1, I got the
>following:
>
>gcc -DHAVE_CONFIG_H -I. -I. -I.   -DLDAP_REFERRALS -D_REENTRANT  -g -O2 -Wall
>-fPIC -c pam_ldap.c
>pam_ldap.c: In function `nasty_ssl_hack':
>pam_ldap.c:299: warning: implicit declaration of function `dlopen'
>pam_ldap.c:299: `RTLD_LAZY' undeclared (first use in this function)
>pam_ldap.c:299: (Each undeclared identifier is reported only once
>pam_ldap.c:299: for each function it appears in.)
>pam_ldap.c: In function `_get_user_info':
>pam_ldap.c:2072: warning: passing arg 4 of `_get_integer_value' from
>incompatible pointer type
>make: *** [pam_ldap.o] Error 1
>
>I got around it by reversing the lines
>
>#ifdef HAVE_LIBPTHREAD
>#include <dlfcn.h>
>
>at lines 257 and 258 of pam_ldap.c
>
>I haven't yet tested (may not get to it today), but at least it compiles.
>
>  --Jim Harle
>
>

--
Luke Howard | lukehoward.com
PADL Software | www.padl.com
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic