PHP 4.0 Bug #9457: cannot compile with native Solaris libldap (fix included)
| From: | tsv at ot dot ru | Date: | Mon, 26 Feb 2001 12:28:25 +0000 |
| Subject: | PHP 4.0 Bug #9457: cannot compile with native Solaris libldap (fix included) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-47547@lists.php.net to get a copy of this message | ||
From: tsv@ot.ru
Operating system: Solaris 8 (Sparc)
PHP version: 4.0.4pl1
PHP Bug Type: LDAP related
Bug description: cannot compile with native Solaris libldap (fix included)
./configure --with-ldap ...
don't use native /usr/lib/libldap.so
*** ext/ldap/config.m4 Mon Feb 26 15:16:51 2001
--- ext/ldap/config.m4.orig Mon Feb 26 15:16:01 2001
***************
*** 43,50 ****
if test -f $LDAP_LIBDIR/liblber.a -o -f $LDAP_LIBDIR/liblber.so ; then
AC_ADD_LIBRARY_WITH_PATH(lber, $LDAP_LIBDIR, LDAP_SHARED_LIBADD)
AC_ADD_LIBRARY_WITH_PATH(ldap, $LDAP_LIBDIR, LDAP_SHARED_LIBADD)
- elif test -f $LDAP_LIBDIR/libldap.so ; then
- AC_ADD_LIBRARY_WITH_PATH(ldap, $LDAP_LIBDIR, LDAP_SHARED_LIBADD)
elif test -f $LDAP_LIBDIR/libldapssl41.so; then
if test -n "$LDAP_PTHREAD"; then
AC_ADD_LIBRARY($LDAP_PTHREAD)
--- 43,48 ----
--
Edit Bug report at: http://bugs.php.net/?id=9457&edit=1