>> '--enable-magic-quotes--with-ldap=/usr/local/openldap'
> поставь пробел между параметрами да. спасибо исправил. но теперь не компилируется. говорит не может найти ldap:
checking for LDAP support... yes
checking for LDAP Cyrus SASL support... no
checking for 3 arg ldap_set_rebind_proc... yes
checking for ldap_parse_result... no
checking for ldap_parse_reference... no
checking for ldap_start_tls_s... no
checking for ldap_bind_s... no
configure: error: LDAP build check failed. Please check config.log for more information.
и несколько последных строк файла:
ld: warning: file libssl.so.1.0.0: required by /usr/local/lib/libldap.so, not found
ld: warning: file libcrypto.so.1.0.0: required by /usr/local/lib/libldap.so, not found
ld: fatal: file /usr/lib/libresolv.so: version `SUNW_2.2.2' does not exist:
required by file /usr/local/lib/libldap.so
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 52578 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char ldap_bind_s(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char ldap_bind_s();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_ldap_bind_s) || defined (__stub___ldap_bind_s)
choke me
#else
ldap_bind_s();
#endif
; return 0; }