The OS is Debian 7.5.
$ uname -a
Linux leviathon 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3+deb7u1 x86_64 GNU/Linux
What I did:
wget http://downloads.php.net/tyrael/php-5.6.0beta4.tar.bz2
tar -jxf php-5.6.0beta4.tar.bz2
cd php-5.6.0beta4/
./configure --prefix=/apps/php/5.6.0beta4
make -j 8
This results in:
ext/dom/.libs/php_dom.o: In function dom_get_debug_info_helper': php-5.6.0beta4/ext/dom/php_dom.c:483: undefined reference to
_zval_ptr_dtor_wrapper'
ext/dom/.libs/php_dom.o: In function dom_xpath_objects_new': php-5.6.0beta4/ext/dom/php_dom.c:1231: undefined reference to
_zval_ptr_dtor_wrapper'
collect2: error: ld returned 1 exit status
The OS is Debian 7.5.
$ uname -a
Linux leviathon 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3+deb7u1 x86_64 GNU/LinuxWhat I did:
wget http://downloads.php.net/tyrael/php-5.6.0beta4.tar.bz2
tar -jxf php-5.6.0beta4.tar.bz2
cd php-5.6.0beta4/
./configure --prefix=/apps/php/5.6.0beta4
make -j 8
A clean build fixed the issue. I inspected my bash history and found
that I did ./configure --enable-debug && make
and cancelled it, but
it seems a .o
file must have been built. Sorry for the noise.