Bug #64837 [Fbk->NoF]: Configure script fails during the check whether build with IMAP works

From: Date: Sun, 11 Sep 2016 04:22:35 +0000
Subject: Bug #64837 [Fbk->NoF]: Configure script fails during the check whether build with IMAP works
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-203957@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=64837&edit=1

 ID:               64837
 Updated by:       php-bugs@lists.php.net
 Reported by:      romain at quarkstudio dot fr
 Summary:          Configure script fails during the check whether build
                   with IMAP works
-Status:           Feedback
+Status:           No Feedback
 Type:             Bug
 Package:          IMAP related
 Operating System: Linux
 PHP Version:      5.3.25
 Assigned To:      cmb
 Private report:   N

 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.


Previous Comments:
------------------------------------------------------------------------
[2016-08-31 21:11:59] cmb@php.net

Can we assume it is fixed as of PHP 5.4.15 at least?

------------------------------------------------------------------------
[2013-05-23 10:13:13] romain at quarkstudio dot fr

Note that the error doesn't occur with php-5.4.15

------------------------------------------------------------------------
[2013-05-14 17:00:59] romain at quarkstudio dot fr

Description:
------------
When executing the configure script, I get a fatal error during the check whether 
build with IMAP works.

c-client : 2007f
openssl : 1.0.1e

Test script:
---------------
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --enable-fast-install
--libdir=/usr/lib64 --libdir=/usr/share/php --localstatedir=/var --enable-bcmath --enable-calendar
--enable-cli --enable-ctype --enable-dba --enable-flatfile --enable-hash --enable-inifile
--enable-intl --enable-json --enable-magic-quotes --enable-mbstring --enable-mbregex
--enable-mbregex-backtrack --enable-pcntl --enable-phar --enable-posix --enable-session
--enable-shmop --enable-sockets --enable-sysvmsg --enable-sysvsem --enable-sysvshm
--enable-tokenizer --enable-zend-multibyte --enable-zip --disable-embed --disable-embedded-mysqli
--disable-safe-mode --with-bz2 --with-config-file-path=/etc/php --with-config-file-scan-dir=/etc/php
--with-exec-dir=/usr/bin --with-gettext --with-gmp --with-iconv --with-icu-!
 dir=/usr --with-layout=GNU --with-zlib --with-zlib-dir=/usr --without-adabas --without-aolserver
--without-apache-hooks --without-apache-hooks-static --without-apxs --without-birdstep
--without-caudium --without-cdb --without-continuity --without-custom-odbc --without-dbmaker
--without-empress --without-empress-bcs --without-enchant --without-esoob --without-mhash
--without-ibm-db2 --without-interbase --without-iodbc --without-isapi --without-milter --without-mm
--without-ndbm --without-nsapi --without-ODBCRouter --without-oci8 --without-pdo-firebird
--without-pdo-oci --without-phttpd --without-pi3web --without-qdbm --without-roxen --without-sapdb
--without-snmp --without-solid --without-sybase-ct --without-thttpd --without-tux --without-webjames
--disable-debug --enable-fpm --enable-ipv6 --enable-exif --enable-fileinfo --enable-filter
--enable-ftp --enable-gd-native-ttf --enable-sqlite-utf8 --enable-dom --enable-libxml
--enable-simplexml --enable-soap --enable-wddx --enabl!
 e-xml --enable-xmlreader --enable-xmlwriter --without-apxs2 --!
 with-pear --with-curl --without-curlwrappers --without-db4 --with-gd=/usr --with-jpeg-dir=/usr
--with-freetype-dir=/usr --with-png-dir=/usr --with-t1lib=/usr --with-xpm-dir=/usr --with-imap
--without-gdbm --without-kerberos --without-ldap --without-ldap-sasl --without-libedit --with-mcrypt
--without-mssql --without-mysql --without-mysql-sock --with-mysqli=mysqlnd
--with-mysql-sock=/run/mysqld/mysqld.sock --with-pcre-dir=/usr --with-pcre-regex=/usr
--with-pdo-mysql=mysqlnd --with-mysql-sock=/run/mysqld/mysqld.sock --without-pdo-dblib
--without-pdo-odbc --with-pdo-pgsql=/usr --with-pdo-sqlite=/usr --with-sqlite3=/usr
--with-pgsql=/usr --without-pspell --without-readline --without-recode --with-imap-ssl
--with-openssl --without-tidy --without-unixODBC --without-xmlrpc --without-xsl


Expected result:
----------------
(Configure script successfully executed)

Actual result:
--------------
checking whether build with IMAP works... no
configure: error: build test failed. Please check the config.log for details.

The relevant part in the config.log : 

configure:51119: checking whether build with IMAP works
configure:51163: x86_64-pc-linux-gnu-gcc -o conftest -I/usr/include -
march=native -pipe -O2  -L/usr/lib  conftest.c -lc-client   -lcrypt -lpam -lgmp 
-lgd -lt1 -lfreetype -lX11 -lXpm -lpng -lz -ljpeg -lcurl -lbz2 -lz -lsqlite3 -
lpcre -lrt -lm -ldl -lnsl  -lxml2 -lz -lm -ldl -lcurl -lxml2 -lz -lm -ldl 1>&5
/usr/lib64/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: 
/usr/lib/libc-client.a(osdep.o): undefined reference to symbol 'SSL_state'
/usr/lib64/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: 
note: 'SSL_state' is defined in DSO /usr/lib64/libssl.so.1.0.0 so try adding it 
to the linker command line
/usr/lib64/libssl.so.1.0.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=64837&edit=1


Thread (4 messages)

« previous php.bugs (#203957) next »