I'm trying to recompile PHP to include pgsql and to enable ZTS, but I keep getting a recurring error code:
sudo ./configure --prefix=/home/me/php --with-config-file-path=/etc --with-pgsql=shared --enable-maintainer-zts
sudo make
and the error:
ext/standard/.libs/info.o: In function
php_info_printf': /home/me/workspace/php5-5.5.9+dfsg/ext/standard/info.c:83: undefined reference to
ts_resource_ex' ext/standard/.libs/info.o: In functionphp_info_print': /home/me/workspace/php5-5.5.9+dfsg/ext/standard/info.c:97: undefined reference to
ts_resource_ex' ext/standard/.libs/info.o: In functionphp_info_print_html_esc': /home/me/workspace/php5-5.5.9+dfsg/ext/standard/info.c:69: undefined reference to
ts_resource_ex' ext/standard/.libs/info.o: In functionphp_print_gpcse_array': /home/me/workspace/php5-5.5.9+dfsg/ext/standard/info.c:204: undefined reference to
executor_globals_id' ext/standard/.libs/info.o: In functionphp_print_info': /home/me/workspace/php5-5.5.9+dfsg/ext/standard/info.c:869: undefined reference to
executor_globals_id' collect2: error: ld returned 1 exit status
Not clear what causes the problem but make clean
resolves it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With