Re: mysql lib not found
| From: | Rasmus Lerdorf | Date: | Wed, 03 Jan 2001 18:13:51 +0000 |
| Subject: | Re: mysql lib not found | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-32522@lists.php.net to get a copy of this message | ||
Since PHP needs to find both the library and header files and none of the
header files are under /usr/lib, use --with-mysql=/usr
On Wed, 3 Jan 2001, Slappy Smith wrote:
>
>
> 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.
> -----------------------------------------------------------------------
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>