problem when compiling php4.0.0 with mysql

From: Date: Tue, 23 May 2000 01:49:39 +0000
Subject: problem when compiling php4.0.0 with mysql
Groups: php.general 
Request: Send a blank email to php-general+get-334@lists.php.net to get a copy of this message
Hi, everyone, I am a php user in China. This morning I download a copy of php4.0.0 and try to intall it. But when configuring, it told me file mysqlclient can not be found. I install php3, php4rc2 in the same way, but they all works very well.. any idea? debug.log is attached. Thanks in advance. Michael Chen BD5RV

CONFIGURE: './configure' '--with-mysql=/usr/local/mysql' '--with-apache=../apache_1.3.12' '--enable-track-vars' '--disable-debug' CC: gcc CFLAGS: -g -O2 CPPFLAGS: CXX: CXXFLAGS: INCLUDES: -I/root/apache_1.3.12/src/include -I/root/apache_1.3.12/src/os/unix -I$(top_builddir)/Zend -I$(top_srcdir) -I/usr/local/mysql/include LDFLAGS: -R/usr/local/mysql/lib/mysql -L/usr/local/mysql/lib/mysql LIBS: -lmysqlclient -lm -lcrypt DLIBS: SAPI: apache PHP_RPATHS: /usr/local/mysql/lib/mysql uname -a: FreeBSD media.njau.edu.cn 4.0-RELEASE FreeBSD 4.0-RELEASE #0: Mon Mar 20 22:50:22 GMT 2000 root@monster.cdrom.com:/usr/src/sys/compile/GENERIC i386 gcc -o conftest -g -O2 -R/usr/local/mysql/lib/mysql -L/usr/local/mysql/lib/mysql conftest.c -lmysqlclient -lm -lcrypt 1>&5 /usr/libexec/elf/ld: cannot open -lmysqlclient: No such file or directory
« previous php.general (#334) next »