Hey guys,
I need some help. I'm trying to build PHP with LDAP support. My steps for now:
- I've added "--with-ldap \" and "--with-ldap-sasl \" in configure.php74 (and other versions) in /usr/local/directadmin/custombuild/configure/ap2
- .\build clean
- .\build php n
After some time I get this error:
I also tried with installing openldap, openldap-clients. Nothing helps. Any ideas what else I can try?
I need some help. I'm trying to build PHP with LDAP support. My steps for now:
- I've added "--with-ldap \" and "--with-ldap-sasl \" in configure.php74 (and other versions) in /usr/local/directadmin/custombuild/configure/ap2
- .\build clean
- .\build php n
After some time I get this error:
/usr/bin/ld: ext/ldap/.libs/ldap.o: undefined reference to symbol 'ber_memfree'
/usr/lib64/liblber-2.4.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
make: *** Waiting for unfinished jobs....
/usr/bin/ld: ext/ldap/.libs/ldap.o: undefined reference to symbol 'ber_memfree'
/usr/lib64/liblber-2.4.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [sapi/fpm/php-fpm] Error 1
I also tried with installing openldap, openldap-clients. Nothing helps. Any ideas what else I can try?