php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17852 undefined mysql_field_count w/ Apache 1.3.26
Submitted: 2002-06-19 16:44 UTC Modified: 2002-09-11 11:23 UTC
From: rival at novia dot net Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 4.2.1 OS: Solaris 2.7
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: rival at novia dot net
New email:
PHP Version: OS:

 

 [2002-06-19 16:44 UTC] rival at novia dot 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-19 16:46 UTC] 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 17:00 UTC] rival at novia dot net
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)
 [2002-06-19 17:08 UTC] mfischer@php.net
Can you test http://snaps.php.net/php4-latest.tar.gz and see if it works for you? thx
 [2002-09-11 11:23 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 01:01:30 2024 UTC