Click to See Complete Forum and Search --> : new php w/mysql in Redhat 9


Sacto5
05-07-2003, 07:57 PM
Hey all,

Has anyone experience this while install php-mysql module:

[me@Omega101 cdrom]# rpm -ivh php-mysql-4.2.2-17.i386.rpm
warning: php-mysql-4.2.2-17.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
error: Failed dependencies:
libmysqlclient.so.10 is needed by php-mysql-4.2.2-17


I am installing this in a fresh RadHat 9 machine. It already has libmysqlclient.so.12 installed.

Any ideas?

Thanks for the helps.

Todd

tsinka
05-10-2003, 02:45 PM
Hi,

it seems like the php package has been built on a system with an older release of mysql than that installed on your system.

The best way would be to rebuild the php rpm package. Download the source package and rebuild it, it's something like

rpm -ba php4.spec

I don't exactly know where the spec file will be copied on Red Hat (I'm using SuSE Linux) but most likely it will be in /usr/src/packages/SPECS.

You might need to install additional packages in order to rebuild the package.

You might try to copy libmysqlclient.so.12 to libmysqlclient.so.10 but that might not work.