Topic: Problems compiling snapshot
I'm trying to build a set of PHP RPMs on CentOS 5.5 using the latest (201009151630) snapshot tarball from php.net (in the hope that the snapshot will fix a vexing error we've encountered in PHP 5.3.2 and 5.3.3). The SRPM built fine, but the compile process fails with this error:
rpmbuild --rebuild --define "rhel 5" --define "snapdate 201009151630" php-5.3.4-1.src.rpm
(snip)
cc: /usr/lib64/mysql/libmysqlclient.so: No such file or directory
make: *** [ext/mysqli/mysqli.la] Error 1
make: *** Waiting for unfinished jobs....
error: Bad exit status from /var/tmp/rpm-tmp.16514 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.16514 (%build)
I'm using the Percona fork of MySQL:
Percona-Server-client-51-5.1.49-rel11.3.110.rhel5
Percona-Server-server-51-5.1.49-rel11.3.110.rhel5
Percona-Server-shared-compat-5.1.48-6
Percona-Server-devel-51-5.1.49-rel11.3.110.rhel5
Suggestions on how to get the compile to work?