[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-install
Subject:    Re: [PHP-INST] Trouble Installing!!!
From:       Alexander Feldman <alex () zend ! com>
Date:       2000-07-31 6:28:06
[Download RAW message or body]

Hello,

php_question wrote:
> 
> Hello and thank you for responding to my letter.
> 
> I have recently downloaded the php and mysql tarballs from www.php.net and
> www.mysql.com respectively. I have installed mysql and it is currently up
> and running fine (as far as I can tell). However, when I try and install
> PHP with MYSQL I get some interesting errors that I hope you know how to
> work out of. For example, when I type the following:
> 
> [root@googliebah php-3.0.16]# ./configure
> --with-mysql=/usr/local/mysql/bin

You have to specify the MuSQL base directory:

./configure --with-mysql=/usr/local/mysql


> 
> I get the following response at the end of the flow of text that follows:
> 
> configure: error: Invalid MySQL directory - unable to find
> libmysqlclient.a or libmysqlclient.so.
> 
> So, I use the 'locate' program to locate libmysqlclient.a and
> libmysqlclient.so. I found them in the following directories:
> 
> [root@googliebah php-3.0.16]# locate libmysqlclient.a
> /usr/local/src/mysql-3.22.32/client/.libs/libmysqlclient.a
> /usr/local/mysql/lib/mysql/libmysqlclient.a
> [root@googliebah php-3.0.16]# cd /usr/local/mysql/lib/mysql
> [root@googliebah mysql]# ls
> libdbug.a   libmysqlclient.a   libmysqlclient.so.6      libmysys.a
> libheap.a   libmysqlclient.la  libmysqlclient.so.6.0.0  libnisam.a
> libmerge.a  libmysqlclient.so  libmystrings.a
> [root@googliebah mysql]#
> 
> I opened the file libmysqlclient.a with PICO to make sure that it was a
> real file...it was....I got a bunch of jibberish. So, I did the following
> and got the following errors again:
> 
> configure: error: Invalid MySQL directory - unable to find
> libmysqlclient.a or libmysqlclient.so.
> 
> I am totally lost as to why it's doing this. The file OBVIOUSLY exists
> since I can open it up using that EXACT pathname. Does anyone out there
> have any ideas?
> 
> Please help and thank you!!!
> 
> ~Ben Rush~
> php@googliebah.unl.ed
> 
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
> For additional commands, e-mail: php-install-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net

-- 
Alexander Feldman
Zend Technologies Ltd.
phone: +972 3 6139665 ext. 111, fax: +972 3 6139671
http://www.zend.com

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
For additional commands, e-mail: php-install-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic