говорю ему ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql
в ответ оно мне ругаецца
Код: Выделить всё
checking for MySQL UNIX socket location... /tmp/mysql.sock
checking for mysql_close in -lmysqlclient... no
checking for mysql_errno in -lmysqlclient... no
configure: error: Try adding --with-zlib-dir=<DIR>. Please check config.log for more information.
Код: Выделить всё
configure:60198: checking for mysql_close in -lmysqlclient
configure:60217: gcc -o conftest -I/usr/local/include -g -O2 -R/usr/local/lib -L/usr/local/lib -liconv -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lmysqlclient -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm 1>&5
/usr/bin/ld: cannot find -lmysqlclient
configure: failed program was:
#line 60206 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char mysql_close();
int main() {
mysql_close()
; return 0; }
configure:60614: checking for mysql_errno in -lmysqlclient
configure:60633: gcc -o conftest -I/usr/local/include -g -O2 -R/usr/local/lib -L/usr/local/lib -liconv -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lmysqlclient -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm 1>&5
/usr/bin/ld: cannot find -lmysqlclient
configure: failed program was:
#line 60622 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char mysql_errno();
int main() {
mysql_errno()
; return 0; }