On 2015-07-06 13:13, Anatol Belski wrote:
I've also another symbol error with today's master

/usr/bin/ld.bfd.real: ext/ldap/.libs/ldap.o: undefined reference to symbol 
'ber_scanf@@OPENLDAP_2.4_2'
/usr/lib/x86_64-linux-gnu/liblber-2.4.so.2: error adding symbols: DSO missing 
from command line

The call to ber_scanf is from a commit of 2010 adding pagination support 
through controls.
Some people already got your error in 2013: 
http://www.linuxquestions.org/questions/linux-server-73/adding-package-to-the-linker-command-line-4175446734-print/

It seems they fixed it by adding -llber manually in the makefile, which means 
the configure script failed to add it somehow.
Could you investigate why the lines in config.m4:

  if test -f $LDAP_LIBDIR/liblber.a || test -f 
$LDAP_LIBDIR/liblber.$SHLIB_SUFFIX_NAME; then
    PHP_ADD_LIBRARY_WITH_PATH(lber, $LDAP_LIBDIR, LDAP_SHARED_LIBADD)

Does not do their job? What are the values of LDAP_LIBDIR, SHLIB_SUFFIX_NAME?
Where is liblber in your Ubuntu installation and how is it named?

Côme

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to