PHP 4.0 Bug #4421: Unable to compile with Netscape LDAP SDK 4.0
| From: | russoe at unige dot it | Date: | Fri, 12 May 2000 12:07:10 +0000 |
| Subject: | PHP 4.0 Bug #4421: Unable to compile with Netscape LDAP SDK 4.0 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-18643@lists.php.net to get a copy of this message | ||
From: russoe@unige.it
Operating system: Debian Linux 2.2.15
PHP version: 4.0 Latest CVS (12/05/2000)
PHP Bug Type: LDAP related
Bug description: Unable to compile with Netscape LDAP SDK 4.0
Configure file seems to look only for libldapssl30.so.
Moreover compile fails :
ldap.c: In function `php_info_ldap':
ldap.c:170: syntax error before `LDAPVersion'
ldap.c:178: `ver' undeclared (first use in this function)
ldap.c:178: (Each undeclared identifier is reported only once
ldap.c:178: for each function
I've noticed that you've forgotten a ";" in ldap.c (line 161) :
PHP_MINFO_FUNCTION(ldap)
{
char maxl[32];
#if HAVE_NSLDAP
char tmp[32]
LDAPVersion ver;
double SDKVersion;
#endif