Problems compiling PHP4b3, Apache and MySQL

From: Date: Thu, 25 Nov 1999 10:08:44 +0000
Subject: Problems compiling PHP4b3, Apache and MySQL
Groups: php.version4 
Request: Send a blank email to php-version4+get-6888@lists.php.net to get a copy of this message
I'm trying to compile and install the lastest version of Apache 1.3.9 and PHP4b3 on a Linux (Slackware) machine. I have a fairly old kernel 2.0.38 which doesn't want to compile MySQL, so I installed the binary version. I followed the example in INSTALL file with PHP giving the MySQL binary path. PHP compiles without a problem, but when Apache is compiled it throws the following error. How can I get around this without having to upgrade my kernel etc so that I can compile MySQL? I'm getting desperate! gcc -DLINUX=2 -I/home/mdstaff/Apache/php-4.0b3 -I/home/mdstaff/Apache/php-4.0b3 /libzend -I/home/mdstaff/Apache/php-4.0b3/libzend -I/home/mdstaff/Apache/php-4.0 b3 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite ./apaci \ -o httpd buildmark.o modules.o modules/standard/libstandard.a modules/php4 /libphp4.a main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a lib/expa t-lite/libexpat.a -Wl,-rpath,/usr/local/mysql/lib -Lmodules/php4 -L../modules/p hp4 -L../../modules/php4 -lmodphp4 -ldl -lm -lgdbm -L/usr/local/mysql/lib -lmy sqlclient -lm /usr/local/mysql/lib/libmysqlclient.a(my_open.o): In function `my_open': my_open.o(.text+0x14): undefined reference to `open64' /usr/local/mysql/lib/libmysqlclient.a(mf_format.o): In function `fn_format': mf_format.o(.text+0x201): undefined reference to `__lxstat64' /usr/local/mysql/lib/libmysqlclient.a(my_fopen.o): In function `my_fopen': my_fopen.o(.text+0x21): undefined reference to `fopen64' make[2]: *** [target_static] Error 1 make[2]: Leaving directory `/home/mdstaff/Apache/apache_1.3.9/src' make[1]: *** [build-std] Error 2 make[1]: Leaving directory `/home/mdstaff/Apache/apache_1.3.9' make: *** [build] Error 2 Please help!!! Tim Lambert

« previous php.version4 (#6888) next »