From:             [EMAIL PROTECTED]
Operating system: Solaris 2.7
PHP version:      4.0.4pl1
PHP Bug Type:     Compile Problem
Bug description:  LDAP Support is broken (I suppose)

php can't compile with the ldap libraries embedded in solaris 2.7 (either sparc/intel 

The problems are 2:

1) In ldap.c where there is a compilation directive like #ifdef LDAP_API_VERSION > 
2000 ) || HAVE_NSLDAP

solaris has an interface compliant to these, but not used...

2) In the makefiles during the link phase, -lldap must be added, because the ldap 
libraries are shared...

If you need other info, please contact me!

now I can run php/ldap scripts correctly...

Edit Bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to