Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP undefined reference to `ts_resource_ex'

Tags:

php

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 tots_resource_ex' ext/standard/.libs/info.o: In function php_info_print': /home/me/workspace/php5-5.5.9+dfsg/ext/standard/info.c:97: undefined reference tots_resource_ex' ext/standard/.libs/info.o: In function php_info_print_html_esc': /home/me/workspace/php5-5.5.9+dfsg/ext/standard/info.c:69: undefined reference tots_resource_ex' ext/standard/.libs/info.o: In function php_print_gpcse_array': /home/me/workspace/php5-5.5.9+dfsg/ext/standard/info.c:204: undefined reference toexecutor_globals_id' ext/standard/.libs/info.o: In function php_print_info': /home/me/workspace/php5-5.5.9+dfsg/ext/standard/info.c:869: undefined reference toexecutor_globals_id' collect2: error: ld returned 1 exit status

like image 500
Russell Hueske Avatar asked Apr 09 '15 02:04

Russell Hueske


1 Answers

Not clear what causes the problem but make clean resolves it.

like image 58
Mugoma J. Okomba Avatar answered Oct 05 '22 07:10

Mugoma J. Okomba