php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #53116 libphp5.so Will Not Build in 5.3.3 - Builds in 5.3.2
Submitted: 2010-10-20 18:01 UTC Modified: 2011-11-18 18:37 UTC
Votes:7
Avg. Score:4.4 ± 0.7
Reproduced:7 of 7 (100.0%)
Same Version:3 (42.9%)
Same OS:3 (42.9%)
From: brandonkirsch at gmail dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.3.3 OS: Linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: brandonkirsch at gmail dot com
New email:
PHP Version: OS:

 

 [2010-10-20 18:01 UTC] brandonkirsch at gmail dot com
Description:
------------
Trying to update to PHP 5.3.3 from 5.2 and libphp5.so will not build.

I have no problems using the same configure command for php 5.3.2 - Something has 
changed between 5.3.2 and 5.3.3

I receive the following error only when building 5.3.3:

** ** ** Warning: inter-library dependencies are not known to be supported. ** ** 
** All declared inter-library dependencies are being dropped.

** ** ** Warning: libtool could not satisfy all declared inter-library ** ** ** 
dependencies of module libphp5. Therefore, libtool will create ** ** ** a static 
module, that should work as long as the dlopening ** ** ** application is linked 
with the -dlopen flag. copying selected object files to avoid basename conflicts.

Test script:
---------------
PHP 5.3.2:

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mssql=/usr/local/freetds --with-ldap --prefix=/usr/local/php5 --with-config-file-path=/usr/local/php5/etc --enable-sockets --enable-soap --with-openssl --with-unixODBC=/usr --with-gd --with-jpeg-dir=/usr/lib --with-pdo-odbc=unixODBC,/usr --with-pdo-dblib=/usr/local/freetds

Works perfectly, builds libphp5.so and copies into my Apache 2.2 modules path.

PHP 5.3.3:

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mssql=/usr/local/freetds --with-ldap --prefix=/usr/local/php5 --with-config-file-path=/usr/local/php5/etc --enable-sockets --enable-soap --with-openssl --with-unixODBC=/usr --with-gd --with-jpeg-dir=/usr/lib --with-pdo-odbc=unixODBC,/usr --with-pdo-dblib=/usr/local/freetds

Same command, throws an error, does not build libphp5.so

Expected result:
----------------
I expect 5.3.3 to build libphp5.so as 5.3.2 does.

Actual result:
--------------
** ** ** Warning: inter-library dependencies are not known to be supported. ** ** 
** All declared inter-library dependencies are being dropped.

** ** ** Warning: libtool could not satisfy all declared inter-library ** ** ** 
dependencies of module libphp5. Therefore, libtool will create ** ** ** a static 
module, that should work as long as the dlopening ** ** ** application is linked 
with the -dlopen flag. copying selected object files to avoid basename conflicts.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-10-20 18:07 UTC] pajoye@php.net
-Status: Open +Status: Feedback
 [2010-10-20 18:07 UTC] pajoye@php.net
Which distributions do you use? and its version?
 [2010-10-20 19:33 UTC] brandonkirsch at gmail dot com
-Status: Feedback +Status: Open
 [2010-10-20 19:33 UTC] brandonkirsch at gmail dot com
SUSE Linux Enterprise Server 10 SP2

The libraries I am linking to with PHPs 'configure' are:
Apache httpd 2.2.9 (from source)
Freetds 0.82 (from source)
OpenSSL 0.9.8a (SLES RPM, includes "0.9.7g" compatibility module)
unixODBC 2.2.11 (SLES)
gd 2.0.32 (SLES)
libjpeg 6.2.0 (SLES)
 [2010-10-21 14:55 UTC] rayro at gmx dot de
I installed an ubuntu server 10.04 in virtual box and tested 5.3.3 installation (and wanted to test fpm).
Anything goes wrong, got some of the same errors like the Brandon K..

my configuration test is as follows:
------------------------------------

root@ape:/usr/local/src/php/php-5.3.3# ./configure \
--prefix=/usr/local/php-5.3.3 \
--enable-bcmath \
--enable-mbstring \
--enable-exif \
--enable-calendar \
--enable-ftp \
--enable-mbstring \
--enable-zip \
--enable-gd-native-ttf \
--enable-sockets \
--enable-pcntl \
--enable-soap \
--enable-dba \
--enable-wddx \
--enable-zend-multibyte \
--enable-sqlite-utf8 \
--enable-sysvmsg \
--enable-sysvsem \
--enable-sysvshm \
--enable-shmop \
--enable-wddx \
--enable-tokenizer \
--with-pic \
--with-zlib \
--with-pcre-regex \
--with-bz2 \
--with-gettext \
--with-openssl \
--with-apxs2=/usr/local/apache-2.2.16/bin/apxs \
--with-mysql \
--with-mysqli \
--with-pgsql \
--with-tidy \
--with-curl \
--with-curlwrappers \
--with-openssl-dir \
--with-pdo-pgsql \
--with-pdo-mysql \
--with-xsl \
--with-ldap \
--with-xmlrpc \
--with-mcrypt \
--with-mhash \
--with-gd \
--with-pear \
--with-iconv \
--with-libevent-dir \
--with-iconv-dir \
--with-jpeg-dir \
--with-png-dir \
--with-xpm-dir \
--with-freetype-dir \
--with-libexpat-dir \
--with-imap \
--with-imap-ssl \
--with-kerberos

root@ape:/usr/local/src/php/php-5.3.3# make clean && make

~
*** Warning: inter-library dependencies are not known to be supported.
*** All declared inter-library dependencies are being dropped.
*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module libphp5.  Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.
~

root@ape:/usr/local/src/php/php-5.3.3# cat config.log |egrep "error|undefined"

~
/usr/local/src/php/php-5.3.3/configure:15588: undefined reference to `yp_get_default_domain'
/* Override any gcc2 internal prototype to avoid an error.  */
/usr/local/src/php/php-5.3.3/configure:15634: undefined reference to `__yp_get_default_domain'
/* Override any gcc2 internal prototype to avoid an error.  */
/usr/local/src/php/php-5.3.3/configure:15846: undefined reference to `dlopen'
/* Override any gcc2 internal prototype to avoid an error.  */
/usr/local/src/php/php-5.3.3/configure:15892: undefined reference to `__dlopen'
/* Override any gcc2 internal prototype to avoid an error.  */
/usr/local/src/php/php-5.3.3/configure:89174: undefined reference to `res_nsearch'
/* Override any gcc2 internal prototype to avoid an error.  */
/usr/local/src/php/php-5.3.3/configure:89709: undefined reference to `dns_search'
/* Override any gcc2 internal prototype to avoid an error.  */
/usr/local/src/php/php-5.3.3/configure:89755: undefined reference to `__dns_search'
/* Override any gcc2 internal prototype to avoid an error.  */
/usr/local/src/php/php-5.3.3/configure:89814: undefined reference to `dns_search'
/* Override any gcc2 internal prototype to avoid an error.  */
/usr/local/src/php/php-5.3.3/configure:89853: undefined reference to `__dns_search'
/* Override any gcc2 internal prototype to avoid an error.  */
/usr/local/src/php/php-5.3.3/configure:89950: undefined reference to `dns_search'
/* Override any gcc2 internal prototype to avoid an error.  */
/usr/local/src/php/php-5.3.3/configure:89989: undefined reference to `__dns_search'
/* Override any gcc2 internal prototype to avoid an error.  */
/* Override any gcc2 internal prototype to avoid an error.  */
/* Override any gcc2 internal prototype to avoid an error.  */
/usr/local/src/php/php-5.3.3/configure:90779: undefined reference to `dn_skipname'
/* Override any gcc2 internal prototype to avoid an error.  */
configure:103613:29: error: main/php_config.h: No such file or directory
configure:105900:32: error: machine/ieeefp.h: No such file or directory
configure:105904: error: 'fp_prec_t' undeclared (first use in this function)
configure:105904: error: (Each undeclared identifier is reported only once
configure:105904: error: for each function it appears in.)
configure:105904: error: expected ';' before 'fpu_oldprec'
configure:105909: error: 'fpu_oldprec' undeclared (first use in this function)
configure:105910: error: 'FP_PD' undeclared (first use in this function)
configure:105952: error: '_PC_53' undeclared (first use in this function)
configure:105952: error: (Each undeclared identifier is reported only once
configure:105952: error: for each function it appears in.)
configure:105952: error: '_MCW_PC' undeclared (first use in this function)
configure:105995: error: '_PC_53' undeclared (first use in this function)
configure:105995: error: (Each undeclared identifier is reported only once
configure:105995: error: for each function it appears in.)
configure:105995: error: '_MCW_PC' undeclared (first use in this function)
/usr/local/src/php/php-5.3.3/configure:106219: undefined reference to `dlopen'
/usr/local/src/php/php-5.3.3/configure:106224: undefined reference to `dlsym'
/usr/local/src/php/php-5.3.3/configure:106229: undefined reference to `dlerror'
/usr/local/src/php/php-5.3.3/configure:106225: undefined reference to `dlsym'
~

running with --enable-fpm does not work (ld returned 1 exit status):
--------------------------------------------------------------------

./configure \
--prefix=/usr/local/php-5.3.3 \
--enable-bcmath \
--enable-mbstring \
--enable-exif \
--enable-calendar \
--enable-ftp \
--enable-mbstring \
--enable-zip \
--enable-gd-native-ttf \
--enable-sockets \
--enable-pcntl \
--enable-soap \
--enable-fpm \
--enable-dba \
--enable-wddx \
--enable-zend-multibyte \
--enable-sqlite-utf8 \
--enable-sysvmsg \
--enable-sysvsem \
--enable-sysvshm \
--enable-shmop \
--enable-wddx \
--enable-tokenizer \
--with-pic \
--with-zlib \
--with-pcre-regex \
--with-bz2 \
--with-gettext \
--with-openssl \
--with-apxs2=/usr/local/apache-2.2.16/bin/apxs \
--with-mysql \
--with-mysqli \
--with-pgsql \
--with-tidy \
--with-curl \
--with-curlwrappers \
--with-openssl-dir \
--with-pdo-pgsql \
--with-pdo-mysql \
--with-xsl \
--with-ldap \
--with-xmlrpc \
--with-mcrypt \
--with-mhash \
--with-gd \
--with-pear \
--with-iconv \
--with-libevent-dir \
--with-iconv-dir \
--with-jpeg-dir \
--with-png-dir \
--with-xpm-dir \
--with-freetype-dir \
--with-libexpat-dir \
--with-imap \
--with-imap-ssl \
--with-kerberos \
--with-fpm-user=www-data \
–-with-fpm-group=www-data

root@ape:/usr/local/src/php/php-5.3.3# make clean && make

~
sapi/apache2handler/sapi_apache2.o: In function `php_ap2_register_hook':
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:707: undefined reference to `ap_hook_pre_config'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:708: undefined reference to `ap_hook_post_config'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:709: undefined reference to `ap_hook_handler'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:710: undefined reference to `ap_hook_child_init'
sapi/apache2handler/sapi_apache2.o: In function `php_apache_child_init':
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:702: undefined reference to `apr_pool_cleanup_null'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:702: undefined reference to `apr_pool_cleanup_register'
sapi/apache2handler/sapi_apache2.o: In function `php_apache_sapi_log_message':
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:326: undefined reference to `ap_log_rerror'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:324: undefined reference to `ap_log_error'
sapi/apache2handler/sapi_apache2.o: In function `php_apache_sapi_log_message_ex':
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:333: undefined reference to `ap_log_rerror'
sapi/apache2handler/sapi_apache2.o: In function `php_apache_sapi_register_variables':
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:271: undefined reference to `apr_table_elts'
sapi/apache2handler/sapi_apache2.o: In function `php_apache_sapi_read_cookies':
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:246: undefined reference to `apr_table_get'
sapi/apache2handler/sapi_apache2.o: In function `php_apache_sapi_getenv':
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:262: undefined reference to `apr_table_get'
sapi/apache2handler/sapi_apache2.o: In function `php_apache_sapi_read_post':
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:202: undefined reference to `apr_brigade_flatten'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:203: undefined reference to `apr_brigade_cleanup'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:201: undefined reference to `ap_get_brigade'
sapi/apache2handler/sapi_apache2.o: In function `php_apache_sapi_send_headers':
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:176: undefined reference to `apr_pstrdup'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:176: undefined reference to `ap_set_content_type'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:164: undefined reference to `apr_pstrdup'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:167: undefined reference to `apr_table_set'
sapi/apache2handler/sapi_apache2.o: In function `php_apache_sapi_header_handler':
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:105: undefined reference to `apr_table_clear'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:101: undefined reference to `apr_table_unset'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:139: undefined reference to `apr_table_set'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:141: undefined reference to `apr_table_add'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:136: undefined reference to `ap_set_content_length'
sapi/apache2handler/sapi_apache2.o: In function `php_apache_sapi_flush':
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:311: undefined reference to `ap_rflush'
sapi/apache2handler/sapi_apache2.o: In function `php_apache_sapi_ub_write':
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:84: undefined reference to `ap_rwrite'
sapi/apache2handler/sapi_apache2.o: In function `php_apache_ini_dtor':
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:534: undefined reference to `apr_pool_cleanup_run'
sapi/apache2handler/sapi_apache2.o: In function `php_apache_request_ctor':
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:478: undefined reference to `apr_table_get'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:479: undefined reference to `apr_pstrdup'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:482: undefined reference to `apr_pstrdup'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:483: undefined reference to `apr_pstrdup'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:486: undefined reference to `apr_table_get'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:489: undefined reference to `apr_table_unset'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:490: undefined reference to `apr_table_unset'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:491: undefined reference to `apr_table_unset'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:492: undefined reference to `apr_table_unset'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:493: undefined reference to `ap_auth_type'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:494: undefined reference to `apr_table_get'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:499: undefined reference to `apr_pstrdup'
sapi/apache2handler/sapi_apache2.o: In function `php_handler':
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:609: undefined reference to `ap_add_common_vars'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:610: undefined reference to `ap_add_cgi_vars'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:675: undefined reference to `apr_psprintf'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:674: undefined reference to `apr_table_set'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:556: undefined reference to `apr_palloc'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:561: undefined reference to `apr_pool_cleanup_null'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:561: undefined reference to `apr_pool_cleanup_register'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:651: undefined reference to `ap_update_mtime'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:652: undefined reference to `ap_set_last_modified'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:683: undefined reference to `apr_bucket_eos_create'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:686: undefined reference to `ap_pass_brigade'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:692: undefined reference to `apr_brigade_cleanup'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:616: undefined reference to `apr_brigade_create'
sapi/apache2handler/sapi_apache2.o: In function `php_apache_server_startup':
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:439: undefined reference to `apr_pool_userdata_get'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:459: undefined reference to `apr_pool_cleanup_null'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:459: undefined reference to `apr_pool_cleanup_register'
sapi/apache2handler/sapi_apache2.o: In function `php_apache_add_version':
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:410: undefined reference to `ap_add_version_component'
sapi/apache2handler/sapi_apache2.o: In function `php_apache_server_startup':
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:446: undefined reference to `apr_pool_cleanup_null'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:446: undefined reference to `apr_pool_userdata_set'
sapi/apache2handler/sapi_apache2.o: In function `php_pre_config':
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:419: undefined reference to `ap_mpm_query'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/sapi_apache2.c:421: undefined reference to `ap_log_error'
sapi/apache2handler/apache_config.o: In function `php_apache_phpini_set':
/usr/local/src/php/php-5.3.3/sapi/apache2handler/apache_config.c:116: undefined reference to `ap_server_root_relative'
sapi/apache2handler/apache_config.o: In function `real_value_hnd':
/usr/local/src/php/php-5.3.3/sapi/apache2handler/apache_config.c:68: undefined reference to `apr_pstrdup'
sapi/apache2handler/apache_config.o: In function `create_php_config':
/usr/local/src/php/php-5.3.3/sapi/apache2handler/apache_config.c:225: undefined reference to `apr_palloc'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/apache_config.c:229: undefined reference to `apr_pool_cleanup_null'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/apache_config.c:229: undefined reference to `apr_pool_cleanup_register'
sapi/apache2handler/php_functions.o: In function `php_apache_get_version':
/usr/local/src/php/php-5.3.3/sapi/apache2handler/php_functions.c:328: undefined reference to `ap_get_server_version'
sapi/apache2handler/php_functions.o: In function `zm_info_apache':
/usr/local/src/php/php-5.3.3/sapi/apache2handler/php_functions.c:382: undefined reference to `ap_loaded_modules'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/php_functions.c:382: undefined reference to `ap_loaded_modules'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/php_functions.c:413: undefined reference to `unixd_config'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/php_functions.c:418: undefined reference to `ap_mpm_query'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/php_functions.c:422: undefined reference to `apr_snprintf'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/php_functions.c:428: undefined reference to `ap_server_root'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/php_functions.c:437: undefined reference to `apr_table_elts'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/php_functions.c:457: undefined reference to `apr_table_elts'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/php_functions.c:466: undefined reference to `apr_table_elts'
sapi/apache2handler/php_functions.o: In function `zif_apache_get_modules':
/usr/local/src/php/php-5.3.3/sapi/apache2handler/php_functions.c:355: undefined reference to `ap_loaded_modules'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/php_functions.c:355: undefined reference to `ap_loaded_modules'
sapi/apache2handler/php_functions.o: In function `php_apache_get_version':
/usr/local/src/php/php-5.3.3/sapi/apache2handler/php_functions.c:328: undefined reference to `ap_get_server_version'
sapi/apache2handler/php_functions.o: In function `zif_apache_getenv':
/usr/local/src/php/php-5.3.3/sapi/apache2handler/php_functions.c:313: undefined reference to `apr_table_get'
sapi/apache2handler/php_functions.o: In function `zif_apache_setenv':
/usr/local/src/php/php-5.3.3/sapi/apache2handler/php_functions.c:277: undefined reference to `apr_table_set'
sapi/apache2handler/php_functions.o: In function `zif_apache_note':
/usr/local/src/php/php-5.3.3/sapi/apache2handler/php_functions.c:234: undefined reference to `apr_table_get'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/php_functions.c:237: undefined reference to `apr_table_set'
sapi/apache2handler/php_functions.o: In function `zif_apache_response_headers':
/usr/local/src/php/php-5.3.3/sapi/apache2handler/php_functions.c:210: undefined reference to `apr_table_elts'
sapi/apache2handler/php_functions.o: In function `zif_apache_request_headers':
/usr/local/src/php/php-5.3.3/sapi/apache2handler/php_functions.c:186: undefined reference to `apr_table_elts'
sapi/apache2handler/php_functions.o: In function `php_apache_lookup_uri':
/usr/local/src/php/php-5.3.3/sapi/apache2handler/php_functions.c:67: undefined reference to `ap_sub_req_lookup_uri'
sapi/apache2handler/php_functions.o: In function `zif_apache_lookup_uri':
/usr/local/src/php/php-5.3.3/sapi/apache2handler/php_functions.c:167: undefined reference to `ap_destroy_sub_req'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/php_functions.c:162: undefined reference to `ap_destroy_sub_req'
sapi/apache2handler/php_functions.o: In function `php_apache_lookup_uri':
/usr/local/src/php/php-5.3.3/sapi/apache2handler/php_functions.c:67: undefined reference to `ap_sub_req_lookup_uri'
sapi/apache2handler/php_functions.o: In function `zif_virtual':
/usr/local/src/php/php-5.3.3/sapi/apache2handler/php_functions.c:103: undefined reference to `ap_destroy_sub_req'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/php_functions.c:99: undefined reference to `ap_rflush'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/php_functions.c:101: undefined reference to `ap_run_sub_req'
/usr/local/src/php/php-5.3.3/sapi/apache2handler/php_functions.c:106: undefined reference to `ap_destroy_sub_req'
collect2: ld returned 1 exit status
make: *** [sapi/fpm/php-fpm] Fehler 1
~

root@ape:/usr/local/src/php/php-5.3.3# cat config.log |egrep "error|undefined"

~
/usr/local/src/php/php-5.3.3/configure:15846: undefined reference to `dlopen'
/* Override any gcc2 internal prototype to avoid an error.  */
/usr/local/src/php/php-5.3.3/configure:15892: undefined reference to `__dlopen'
/* Override any gcc2 internal prototype to avoid an error.  */
/usr/local/src/php/php-5.3.3/configure:89174: undefined reference to `res_nsearch'
/* Override any gcc2 internal prototype to avoid an error.  */
/usr/local/src/php/php-5.3.3/configure:89709: undefined reference to `dns_search'
/* Override any gcc2 internal prototype to avoid an error.  */
/usr/local/src/php/php-5.3.3/configure:89755: undefined reference to `__dns_search'
/* Override any gcc2 internal prototype to avoid an error.  */
/usr/local/src/php/php-5.3.3/configure:89814: undefined reference to `dns_search'
/* Override any gcc2 internal prototype to avoid an error.  */
/usr/local/src/php/php-5.3.3/configure:89853: undefined reference to `__dns_search'
/* Override any gcc2 internal prototype to avoid an error.  */
/usr/local/src/php/php-5.3.3/configure:89950: undefined reference to `dns_search'
/* Override any gcc2 internal prototype to avoid an error.  */
/usr/local/src/php/php-5.3.3/configure:89989: undefined reference to `__dns_search'
/* Override any gcc2 internal prototype to avoid an error.  */
/* Override any gcc2 internal prototype to avoid an error.  */
/* Override any gcc2 internal prototype to avoid an error.  */
/usr/local/src/php/php-5.3.3/configure:90779: undefined reference to `dn_skipname'
/* Override any gcc2 internal prototype to avoid an error.  */
configure:103613:29: error: main/php_config.h: No such file or directory
configure:105900:32: error: machine/ieeefp.h: No such file or directory
configure:105904: error: 'fp_prec_t' undeclared (first use in this function)
configure:105904: error: (Each undeclared identifier is reported only once
configure:105904: error: for each function it appears in.)
configure:105904: error: expected ';' before 'fpu_oldprec'
configure:105909: error: 'fpu_oldprec' undeclared (first use in this function)
configure:105910: error: 'FP_PD' undeclared (first use in this function)
configure:105952: error: '_PC_53' undeclared (first use in this function)
configure:105952: error: (Each undeclared identifier is reported only once
configure:105952: error: for each function it appears in.)
configure:105952: error: '_MCW_PC' undeclared (first use in this function)
configure:105995: error: '_PC_53' undeclared (first use in this function)
configure:105995: error: (Each undeclared identifier is reported only once
configure:105995: error: for each function it appears in.)
configure:105995: error: '_MCW_PC' undeclared (first use in this function)
/usr/local/src/php/php-5.3.3/configure:106219: undefined reference to `dlopen'
/usr/local/src/php/php-5.3.3/configure:106224: undefined reference to `dlsym'
/usr/local/src/php/php-5.3.3/configure:106229: undefined reference to `dlerror'
/usr/local/src/php/php-5.3.3/configure:106225: undefined reference to `dlsym'
~
 [2010-10-25 09:28 UTC] rayro at gmx dot de
maybe related to #52419
 [2011-11-16 14:18 UTC] felipe@php.net
-Status: Open +Status: Bogus
 [2011-11-16 14:18 UTC] felipe@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.


 [2011-11-18 18:37 UTC] brandonkirsch at gmail dot com
There's nothing bogus about this bug report, unless bogus is the new "Won't Fix."
 [2013-05-01 17:40 UTC] jcua at shaw dot ca
I am getting the same warning and error while compiling the new PHP 5.3.24.  I do have this issue compiling 5.3.19
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Nov 24 02:01:28 2024 UTC