Edit report at https://bugs.php.net/bug.php?id=68302&edit=1
ID: 68302
Updated by: cmb@php.net
Reported by: 0kaba0 at gmail dot com
Summary: impossible to compile php with zip support
-Status: Assigned
+Status: Closed
Type: Bug
Package: Compile Failure
Operating System: Centos 6.5
PHP Version: 5.6.2
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=php-src.git;a=commit;h=48198e4c257825ab89ee027bff5a93fc2cd59601
Log: Fix #68302: impossible to compile php with zip support
Previous Comments:
------------------------------------------------------------------------
[2016-07-19 17:29:38] cmb@php.net
@pzawora Thanks.
------------------------------------------------------------------------
[2016-07-19 16:34:59] pzawora at gmail dot com
It happens when SIZEOF_OFF_T is set to ZERO
To determine SIZEOF_OFF_T ./configure does not check errors on compilation.
Error could be caused by any missing library (ie pg.so).
configure:106255: cc -o conftest -I/usr/include ....... -lxml2 -lz -lm -ldl >&5
To reproduce try to remove any (usable) library from ldconfig path
------------------------------------------------------------------------
[2016-07-10 04:22:36] 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.
------------------------------------------------------------------------
[2016-06-28 18:41:34] cmb@php.net
> error: #error unsupported size of off_t
I wonder to what SIZEOF_OFF_T is defined. See main/php_config.h.
------------------------------------------------------------------------
[2016-05-24 05:52:04] nulash2010cool at gmail dot com
I also have the same error.. Pls help.
My specification: CentOs 6.5, MySQL 5.6.30 Apache 2.4.20 Php 5.6.21
The line i used to configure:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysqli=/usr/local/mysql/bin/mysql_config
--with-pdo-mysql=/usr/local/mysql/
Output obtained:
/usr/local/src/php/php-5.6.21/ext/dom/node.c:1901: undefined reference to
`xmlOutputBufferGetSize'
/usr/local/src/php/php-5.6.21/ext/dom/node.c:1907: undefined reference to
`xmlOutputBufferGetContent'
ext/dom/.libs/documenttype.o: In function `dom_documenttype_internal_subset_read':
/usr/local/src/php/php-5.6.21/ext/dom/documenttype.c:214: undefined reference to
`xmlOutputBufferGetSize'
/usr/local/src/php/php-5.6.21/ext/dom/documenttype.c:214: undefined reference to
`xmlOutputBufferGetContent'
/usr/local/src/php/php-5.6.21/ext/dom/documenttype.c:214: undefined reference to
`xmlOutputBufferGetSize'
/usr/local/src/php/php-5.6.21/ext/dom/documenttype.c:214: undefined reference to
`xmlOutputBufferGetSize'
ext/simplexml/.libs/simplexml.o: In function `zim_simplexml_element_asXML':
/usr/local/src/php/php-5.6.21/ext/simplexml/simplexml.c:1428: undefined reference to
`xmlOutputBufferGetContent'
/usr/local/src/php/php-5.6.21/ext/simplexml/simplexml.c:1428: undefined reference to
`xmlOutputBufferGetSize'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=68302
--
Edit this bug report at https://bugs.php.net/bug.php?id=68302&edit=1