Re: Re: LDAP build broken
| From: | Côme BERNIGAUD | Date: | Mon, 06 Jul 2015 13:17:50 +0000 |
| Subject: | Re: Re: LDAP build broken | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-87048@lists.php.net to get a copy of this message | ||
On 2015-07-06 13:13, Anatol Belski wrote:
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
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 lineThe 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: [application/pgp-signature] OpenPGP digital signature signature.asc