- 主题:configure过不去,找不到mysql lib
CentOS 5.4 x86_64
[root@samba ~]# rpm -qa | grep mysql
mysql-5.0.77-3.el5
mysql-devel-5.0.77-3.el5
mysql-server-5.0.77-3.el5
php-mysql-5.1.6-23.2.el5_3
错误:
......
checking for php-config... /usr/bin/php-config
checking whether _GNU_SOURCE is declared... yes
checking for gzgets in -lz... yes
checking for mysql_real_connect in -lmysqlclient... no
configure: error: The MYSQL library not found
make: *** 没有指明目标并且找不到 makefile。 停止。
--
FROM 122.227.159.*
看了下config.log,它去/usr/lib找了,实际是在/usr/lib64
【 在 rem1x (玩笑而已) 的大作中提到: 】
: CentOS 5.4 x86_64
: [root@samba ~]# rpm -qa | grep mysql
: mysql-5.0.77-3.el5
: ...................
--
FROM 122.227.159.*
老問題了,手動去修改Makefile好了
【 在 rem1x (玩笑而已) 的大作中提到: 】
: 看了下config.log,它去/usr/lib找了,实际是在/usr/lib64
--
FROM 123.120.153.*
改configure吧
【 在 major (Color my life with chaos of trouble) 的大作中提到: 】
: 老問題了,手動去修改Makefile好了
--
FROM 61.48.190.*