Bug #73564 [NEW]: cannot compile with ldap support

From: Date: Sat, 19 Nov 2016 00:45:25 +0000
Subject: Bug #73564 [NEW]: cannot compile with ldap support
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-205468@lists.php.net to get a copy of this message
From: 2easy dot for dot kautzy at gmail dot com Operating system: Debian 8.3 PHP version: 7.1.0RC6 Package: Compile Failure Bug Type: Bug Bug description:cannot compile with ldap support Description: ------------ configure: ./configure \ --prefix=/usr/local/php/7.1.0 \ --sysconfdir=/etc/php/7.1.0 \ --with-config-file-path=/etc/php/7.1.0 \ --localstatedir=/var/local/php/7.1.0 \ --with-openssl \ --with-zlib \ --enable-bcmath \ --with-bz2 \ --enable-calendar \ --with-curl \ --enable-dba \ --enable-exif \ --enable-ftp \ --disable-gcc-global-regs \ --enable-opcache=no \ --with-gd \ --with-jpeg-dir=/usr \ --with-png-dir=/usr \ --with-zlib-dir=/usr \ --with-xpm-dir=/usr \ --with-freetype-dir=/usr \ --enable-gd-native-ttf \ --with-gmp \ --with-kerberos \ --with-imap-ssl \ --with-ldap=/usr/local/openldap \ --enable-mbstring \ --with-mhash \ --with-pgsql \ --with-mm \ --enable-shmop \ --enable-soap \ --enable-sockets \ --enable-sysvmsg \ --enable-sysvsem \ --enable-sysvshm \ --with-tidy \ --with-xmlrpc \ --with-xsl ### configure stops with: configure: error: LDAP build check failed. Please check config.log for more information. ### part from config.log with errors: | /* end confdefs.h. */ | /* Define ldap_control_find to an innocuous variant, in case <limits.h> declares ldap_control_find. | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | #define ldap_control_find innocuous_ldap_control_find | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char ldap_control_find (); below. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | <limits.h> exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | | #undef ldap_control_find | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char ldap_control_find (); | /* 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_control_find || defined __stub___ldap_control_find | choke me | #endif | | int | main () | { | return ldap_control_find (); | ; | return 0; | } configure:49005: result: no configure:49337: checking for ldap_bind_s configure:49337: cc -o conftest -I/usr/include -g -O2 -fvisibility=hidden -I/usr/include -L/usr/lib -Wl,-rpath,/usr/lib/x86_64-linux-gnu/mit-krb5 -L/usr/l ib/x86_64-linux-gnu/mit-krb5 -Wl,-rpath,/usr/lib/x86_64-linux-gnu -L/usr/lib/x86_64-linux-gnu conftest.c -lldap -lgmp -lX11 -lXpm -lpng -lz -ljpeg -lcurl -l bz2 -lz -lrt -lm -ldl -lnsl -lxml2 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lcurl -lxml2 -lssl -lcrypto -lfreetype -lz -lpng12 >&5 /usr/lib/x86_64-linux-gnu/libcurl.so: undefined reference to `SSL_CTX_use_certificate_chain_file@OPENSSL_1.0.0' /usr/lib/x86_64-linux-gnu/libcurl.so: undefined reference to `SSL_CTX_set_verify@OPENSSL_1.0.0' /usr/lib/x86_64-linux-gnu/libcurl.so: undefined reference to `ASN1_STRING_type@OPENSSL_1.0.0' /usr/lib/x86_64-linux-gnu/libcurl.so: undefined reference to `CRYPTO_free@OPENSSL_1.0.0' /usr/lib/x86_64-linux-gnu/libcurl.so: undefined reference to `SSL_get_shutdown@OPENSSL_1.0.0' /usr/lib/x86_64-linux-gnu/libcurl.so: undefined reference to `SSL_get_session@OPENSSL_1.0.0' /usr/lib/x86_64-linux-gnu/libcurl.so: undefined reference to `SSL_get_verify_result@OPENSSL_1.0.0' ... /usr/lib/x86_64-linux-gnu/libcurl.so: undefined reference to `SSL_connect@OPENSSL_1.0.0' /usr/lib/x86_64-linux-gnu/libcurl.so: undefined reference to `UI_get_input_flags@OPENSSL_1.0.0' /usr/lib/x86_64-linux-gnu/libcurl.so: undefined reference to `DES_set_odd_parity@OPENSSL_1.0.0' collect2: error: ld returned 1 exit status configure:49337: $? = 1 configure: failed program was: | /* confdefs.h */ Expected result: ---------------- configure should run through Actual result: -------------- configure stops with error: checking for ldap_parse_result... no checking for ldap_parse_reference... no checking for ldap_start_tls_s... no checking for ldap_control_find... no checking for ldap_bind_s... no configure: error: LDAP build check failed. Please check config.log for more information. -- Edit bug report at https://bugs.php.net/bug.php?id=73564&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=73564&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=73564&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=73564&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=73564&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=73564&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=73564&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=73564&r=needscript Try newer version: https://bugs.php.net/fix.php?id=73564&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=73564&r=support Expected behavior: https://bugs.php.net/fix.php?id=73564&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=73564&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=73564&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=73564&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=73564&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=73564&r=dst IIS Stability: https://bugs.php.net/fix.php?id=73564&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=73564&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=73564&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=73564&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=73564&r=mysqlcfg

« previous php.bugs (#205468) next »