php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64837 Configure script fails during the check whether build with IMAP works
Submitted: 2013-05-14 17:00 UTC Modified: 2016-09-11 04:22 UTC
From: romain at quarkstudio dot fr Assigned: cmb (profile)
Status: No Feedback Package: IMAP related
PHP Version: 5.3.25 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: romain at quarkstudio dot fr
New email:
PHP Version: OS:

 

 [2013-05-14 17:00 UTC] 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 --enable-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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-05-23 10:13 UTC] romain at quarkstudio dot fr
Note that the error doesn't occur with php-5.4.15
 [2016-08-31 21:11 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2016-08-31 21:11 UTC] cmb@php.net
Can we assume it is fixed as of PHP 5.4.15 at least?
 [2016-09-11 04:22 UTC] php-bugs at lists dot php dot net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 04:01:30 2024 UTC