Believe it or not, configure does not find ldap.so which is under / usr / lib / i 386-linux-gnu
So I made these links: (liblber is a friend of libldap)
cd /usr/lib ln -s i386-linux-gnu/libldap.so ln -s i386-linux-gnu/liblber.so
And configure success. The bad thing is that “make” does not work because:
/usr/bin/ld: ext/ldap/.libs/ldap.o: undefined reference to symbol ' ber_strdup@ @OPENLDAP_2.4_2' /usr/bin/ld: note: ' ber_strdup@ @OPENLDAP_2.4_2' is defined in DSO /usr/lib/i386-linux-gnu/liblber-2.4.so.2 so try adding it to the linker command line /usr/lib/i386-linux-gnu/liblber-2.4.so.2: could not read symbols: Invalid operation collect2: ld returned 1 exit status make: *** [sapi/cli/php] Erreur 1
It seems that the error is in PHP - I saw some others, similar to those that were fixed by PHP developers in the past.
source share