PHP 4.0 Bug #5197 Updated: Can't connect ldap server
| From: | Bug Database | Date: | Fri, 30 Jun 2000 11:44:30 +0000 |
| Subject: | PHP 4.0 Bug #5197 Updated: Can't connect ldap server | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-22745@lists.php.net to get a copy of this message | ||
ID: 5197
User Update by: xiangxb@itc.com.cn
Old-Status: Open
Status: Closed
Bug Type: LDAP related
Description: Can't connect ldap server
I solve this problem. This need php4 changes configure to put -lldap -llber before -lclntsh.
I change apache_1.3.12/src/Makefile and apache_1.3.12/src/modules/php4/Makefile that put -lldap
-llber before -lclntsh in LIBS1
of apache_1.3.12/src/Makefile and apache_1.3.12/src/modules/php4/Makefile. It works
It's that LIBS1= -Wl,-rpath,/usr/local/openldap/lib
-Wl,-rpath,/usr/local/oracle/u01/app/oracle/product/8.1.5/lib -rdynamic -L/usr/local/openldap/lib
-L/usr/local/oracle/u01/app/oracle/product/8.1.5/lib -Lmodules/php4 -L../modules/php4
-L../../modules/php4 -lmodphp4 -lgdbm -lpam -ldl -lldap -llber -lclntsh -lpthread -lm
-lgd -lresolv -lm -ldl -lcrypt -lnsl -lresolv -lm -lcrypt
Full Bug description available at: http://bugs.php.net/version4/?id=5197