Re: [PHP4BETA] PHP4 and Apache on Linux

From: Date: Mon, 29 Nov 1999 16:46:39 +0000
Subject: Re: [PHP4BETA] PHP4 and Apache on Linux
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-7052@lists.php.net to get a copy of this message
Out of curiosity, what architecture? Did you install the proper binary for that architecture? Also, you'll need to not install a glibc'd binary. They're available... Any particularly identifyable reasons MySQL won't compile for you on 2.0.38? It should... ----- Original Message ----- From: Lambert, Tim <Tim.Lambert@cd-tr.wales.nhs.uk> To: <php4beta@lists.php.net> Sent: Monday, November 29, 1999 7:06 AM Subject: [PHP4BETA] PHP4 and Apache on Linux > I'm not sure why the following is happening. Can anyone help? > > 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 > > > > -- > PHP 4.0 Beta Mailing List <http://www.php.net/version4/> > To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net > For additional commands, e-mail: php4beta-help@lists.php.net > To contact the list administrators, e-mail: php4beta-admin@lists.php.net > >

« previous php.version4 (#7052) next »