Failed to compile x86_64 version of php5
| From: | ZelluX | Date: | Fri, 25 Sep 2009 11:46:25 +0000 |
| Subject: | Failed to compile x86_64 version of php5 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-19761@lists.php.net to get a copy of this message | ||
Hi, all
I'm trying to compile php5 on dreamhost, after doing what
http://wiki.dreamhost.com/index.php/Installing_PHP5<http://wiki.dreamhost.com/index.php/Installing%5FPHP5>says,
I have compiled all the components except php5 itself.
When running $ ./configure ${PHPFEATURES}, it reports an error
configure: error: Cannot find libmysqlclient under /usr.
Note that the MySQL client library is not bundled anymore!
But actually I find that /usr/lib64/lib64/libmysqlclient.so.15.0.0 exists.
After some googling I added a --with-libdir=lib64 to the configure
parameters. But this time another error appears
checking for pkg-config... /usr/bin/pkg-config
configure: error: Cannot find OpenSSL's li
I don't know how to make configure find both libraries. Many thanks for your
replies.