mysql lib not found
| From: | Slappy Smith | Date: | Wed, 03 Jan 2001 17:12:54 +0000 |
| Subject: | mysql lib not found | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-32521@lists.php.net to get a copy of this message | ||
ERROR when configuring php3.0.18:
configure: error: Invalid MySQL directory - unable to find libmysqlclient.a
or libmysqlclient.so.
where is the file?
[root@strangeways]# find /usr -print | grep libmysqlclient.so
/usr/lib/mysql/libmysqlclient.so.6
/usr/lib/mysql/libmysqlclient.so.6.0.0
/usr/lib/mysql/libmysqlclient.so
/usr/lib/libmysqlclient.so
/usr/lib/libmysqlclient.so.6
/usr/lib/libmysqlclient.so.6.0.0
what options have i tried?
--with-mysql=/usr/lib
and
--with-mysql=/usr/lib/mysql
actual command:
./configure --with-apxs=/usr/sbin --with-gd=no
--with-sybase=/opt/sybase-11.9.2 --with-sybase-ct=/opt/sybase-11.9.2
--with-mysql=/usr/lib
no problem finding sybase or apxs but cannot find mysql.
seems odd.
-----------------------------------------------------------------------
Q: Backstreet Boys or N'Sync?
A: Both of them. In a house, on fire, surrounded by
trick fire extinguishers filled with gasoline.
-----------------------------------------------------------------------