Hello All,

I have installed php with ldap but when i reconfigure apache i get error
when i give make

I did not get error when i compile the php.

i have installed openldap-2.0.15
php-4.0.6
apache_1.3.19

i compiled php as
#
./configure --with-apache=/usr/local/apache_1.3.19 --with-ldap=/usr/local/op
enldap-2.0.15

i recompiled apache as
./configure --activate-module=src/modules/php4/libphp4.a

Please help me out to solve the problem.

the error is given below

/usr/local/php-4.0.6/ext/ldap/ldap.c:1969: undefined reference to
`ldap_first_reference'
modules/php4/libphp4.a(ldap.o): In function `php_if_ldap_next_reference':
/usr/local/php-4.0.6/ext/ldap/ldap.c:1997: undefined reference to
`ldap_next_reference'
modules/php4/libphp4.a(ldap.o): In function `php_if_ldap_parse_reference':
/usr/local/php-4.0.6/ext/ldap/ldap.c:2025: undefined reference to
`ldap_parse_reference'
/usr/local/php-4.0.6/ext/ldap/ldap.c:2034: undefined reference to
`ldap_value_free'
/usr/local/php-4.0.6/ext/ldap/ldap.c:2043: undefined reference to
`ldap_value_free'
modules/php4/libphp4.a(ldap.o): In function `php_if_ldap_rename':
/usr/local/php-4.0.6/ext/ldap/ldap.c:2071: undefined reference to
`ldap_rename_s'
modules/php4/libphp4.a(ldap.o): In function `_free_ldap_result':
/usr/local/php-4.0.6/ext/ldap/ldap.c:146: undefined reference to
`ldap_msgfree'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/usr/local/apache_1.3.19/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/apache_1.3.19'
make: *** [build] Error 2

-Logu



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to