On Fri, Sep 25, 2009 at 7:55 PM, Steven Cruz <steven.cruz@xxxxxxxxxxxx> wrote:
Hello;
I justed faced a similar problem earlier this week. I was able to get PHP to compile with Sybase and MySQLi but not MySQL. Either it could not find the header files, or the file you listed below, or something else. I made symbolic links from lib directories to the /usr/local/mysq/lib used with --mysql=/usr/local/mysql and installed the mysql dev library by running
> yum install mysql-devel.
(Any RPM based install should work)
Installing the development library is what work for me, and few other people I read about on line. Seems like PHP is expected something different and this seems common in some 64 bit setups.
Hope it helps
Steven
ZelluX wrote:
Hi, all
I'm trying to compile php5 on dreamhost, after doing what http://wiki.dreamhost.com/index.php/Installing_PHP5 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 liI don't know how to make configure find both libraries. Many thanks for your replies.
- References:
- Failed to compile x86_64 version of php5
- From: ZelluX
- Re: Failed to compile x86_64 version of php5
- From: Steven Cruz
- Failed to compile x86_64 version of php5
- Prev by Date: Re: Failed to compile x86_64 version of php5
- Next by Date: Getting 5.3 up and running on Apache 2.2
- Previous by thread: Re: Failed to compile x86_64 version of php5
- Next by thread: Getting 5.3 up and running on Apache 2.2
- Index(es):