note 60415 added to install.unix.apache2
| From: | ram at netcore dot co dot in | Date: | Fri, 06 Jan 2006 06:16:25 +0000 |
| Subject: | note 60415 added to install.unix.apache2 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-101288@lists.php.net to get a copy of this message | ||
for php 5.1.1
configure fails if you have mysql-4.1.12 installed and you try
./configure --with-mysql
You may get a misleading error like
...
..
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.
There is no zlib error the error is because of no libmysqlclient.so
just locate libmysqlclient.so.10 ( or any other ) and soft link it as libmysqlclient.so
For eg.
ln -s /usr/lib/mysql/libmysqlclient.so.10.0.0 /usr/lib/mysql/libmysqlclient.so
Configure should work fine
----
Manual Page -- http://www.php.net/manual/en/install.unix.apache2.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+60415
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+60415&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+60415&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+60415&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+60415&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+60415&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+60415&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+60415&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+60415&report=yes
Search -- http://master.php.net/manage/user-notes.php