Re: openldap support in PWLIB



I think I found the source of the problem, although I am puzzled as to
why pwlib and ekiga built for you in 2.13.90.

I examined the OpenLDAP-2.2.28 source and found that open_ldap() has
been deprecated:

        [from ldap.h]
        
        ...
        /*
        * in open.c:
        */
        #if LDAP_DEPRECATED
        LDAP_F( LDAP * )
        ldap_init LDAP_P(( /* deprecated */
                LDAP_CONST char *host,
                int port ));
        
        LDAP_F( LDAP * )
        ldap_open LDAP_P((      /* deprecated */
                LDAP_CONST char *host,
                int port ));
        #endif
        
        ....

If the build of OpenLdap-2.2.28 on your system contains ldap_open(), you
can work around the problem by rebuilding pwlib with a preprocessor
macro definition

   -DLDAP_DEPRECATED=1

set.

-Joseph

===========================================================================
On Sun, 2006-02-19 at 10:50 -0300, lordello_rj wrote: 
> Em S� 2006-02-18 �18:27 -0500, Joseph E. Sacco, Ph.D. escreveu: 
> > See if you have *all* of the openldap packages installed for your 
> > distro.  Maybe what you are missing is in a devel package. 
> 
> Joseph, I use Gentoo and we has no devel package, this means, all packages 
> has all files installed (binary and headers). 
> The Garnome 2.13.90 builds without this problem. 
> Thanks. 
> 
> 
-- 
joseph_sacco [at] comcast [dot] net




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