Bug #17852 Updated: undefined mysql_field_count w/ Apache 1.3.26
| From: | rival at novia dot net | Date: | Wed, 19 Jun 2002 21:00:09 +0000 |
| Subject: | Bug #17852 Updated: undefined mysql_field_count w/ Apache 1.3.26 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-11459@lists.php.net to get a copy of this message | ||
ID: 17852
Updated by: rival@novia.net
Reported By: rival@novia.net
Status: Bogus
Bug Type: Compile Failure
Operating System: Solaris 2.7
PHP Version: 4.2.1
New Comment:
Both PHP 4.1.2 & 4.2.1 compiled & installed using the following
configuration:
./configure --with-mysql=/usr/local --with-apache=../apache_1.3.26
--disable-debug --enable-track-vars --enable-bcmath --with-zlib
--with-gettext --with-xml --without-x --enable-ftp
Tyring to compiled Apache 1.3.26 using the following configuration:
./configure --with-layout=Apache --prefix=/usr/local/apache
--enable-module=expires --enable-module=vhost_alias
--activate-module=src/modules/php4/libphp4.a
--activate-module=src/modules/auth_mysql/libauth_mysql.a
When running make for Apache 1.3.26 + PHP 4.2.1 got:
gcc -I/usr/local/include/mysql -DSOLARIS2=270
-I/opt/work/Apache/php-4.2.1 -I/opt/work/Apache/php-4.2.1/main
-I/opt/work/Apache/php-4.2.1/main -I/opt/work/Apache/php-4.2.1/Zend
-I/opt/work/Apache/php-4.2.1/Zend -I/opt/work/Apache/php-4.2.1/TSRM
-I/opt/work/Apache/php-4.2.1/TSRM -I/opt/work/Apache/php-4.2.1
-DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED -O3
-DDYNAMIC_MODULE_LIMIT=0 -DSINGLE_LISTEN_UNSERIALIZED_ACCEPT
-DBUFFERED_LOGS
./apaci \
-o httpd buildmark.o modules.o modules/standard/libstandard.a
modules/php4/libphp4.a modules/auth_mysql/libauth_mysql.a
main/libmain.a ./os/unix/libos.a ap/libap.a lib/expat-lite/libexpat.a
-L/usr/local/lib/mysql -lmysqlclient -R/usr/ucblib -R/usr/local/lib
-L/usr/ucblib -L/usr/local/lib -Lmodules/php4 -L../modules/php4
-L../../modules/php4 -lmodphp4 -lpam -lmysqlclient -lintl -lz -lcrypt
-lresolv -lresolv -lm -ldl -lnsl -lsocket -lsocket -lcrypt -lsocket
-lnsl -lpthread
Undefined first referenced
symbol in file
mysql_field_count
modules/php4/libphp4.a(php_mysql.o)
ld: fatal: Symbol referencing errors. No output written to httpd
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/opt/work/Apache/apache_1.3.26/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/opt/work/Apache/apache_1.3.26'
make: *** [build] Error 2
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
Previous Comments:
------------------------------------------------------------------------
[2002-06-19 16:46:10] mfischer@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2002-06-19 16:44:38] rival@novia.net
Encountered mysql_field_count at the final linking using PHP 4.2.1 with
Apache 1.3.26.
Revert back to PHP 4.1.2 with Apache 1.3.26 compiled OK.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17852&edit=1