|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[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. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 20 09:00:01 2025 UTC |
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)