From:             [EMAIL PROTECTED]
Operating system: Solaris 2.8
PHP version:      4.1.0
PHP Bug Type:     Compile Failure
Bug description:  Undefined Symbol: ldap_parse_reference

This is the same problem as in Bug #11873

Configure options: --enable-force-cgi-redirect --enable-trans-sid
--enable-memory-limit --with-ldap

Operating system: SunOS myHost 5.8 Generic_108528-12 sun4u sparc
SUNW,Ultra-250

The original Solaris LDAP library is used, no other library is installed.

-rwxr-xr-x   1 root     bin       224200 Jan  5  2000
/usr/lib/libldap.so.4*

There is no ldap_parse_reference() in this library. (Solaris 9 comes with
libldap.so.5 including ldap_parse_reference() ). 

LDAP_API_VERSION is defined as 2004 (2005 on Solaris 9) in
/usr/include/ldap.h

HAVE_NSLDAP is not defined in main/config_php.h

I looked for references on the web about what API function has to be
present in the different API versions. It's definitely possible that Sun
wrongly labeled their library in Solaris 8 with 2004 but didn't supply the
needed ldap_parse_reference() method.

But it would be useful to make PHP ignore that problem and undefine
ldap_parse_reference() on Solaris 8 or at least check for its existance
during configure.
-- 
Edit bug report at: http://bugs.php.net/?id=14618&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
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