- 论坛徽章:
- 0
|
Create a directory "mysql" e.g. in /usr/local/lib
mkdir /usr/local/lib/mysql
and create symlinks "include" and "lib" pointing to the original directories (here /usr/include/mysql and /usr/lib/mysql)
cd /usr/local/lib/mysql
ln -s /usr/include/mysql include
ln -s /usr/lib/mysql lib
Now, go back to where you extracted the PHP-source and call configure again, telling it to search in /usr/local/lib/mysql for the mysql-client stuff.
./configure --with-mysql=/usr/local/lib/mysql ...
Now the mysql-extension should compile. |
|