RPMS for MySQL version 4?
Laurent Papier
yellowdog-general@lists.terrasoftsolutions.com
Sun, 8 Aug 2004 11:20:56 +0200
On Sun, 8 Aug 2004 00:45:01 -0500 (CDT)
Jima <jima@beer.tclug.org> wrote:
> On Sat, 7 Aug 2004, John M. Wright wrote:
> > > Anyway, that can be shortened to:
> > >
> > > 1. download SRPM
> > > 2. # rpmbuild --rebuild MySQL-4.0.20-0.src.rpm
> > >
> > > Jima
> >
> > OK, but I fail to see how this would produce different binary RPMS
> > than: #rpm -Uvh MySQL-4.0.20-0.src.rpm
> >
> > followed by: #rpmbuild -ba /usr/src/rpm/SPECS/MySQL-4.0.20-0.spec
>
> Nope, it's just a shortcut, if you didn't have to tweak it before
> rebuilding.
>
> > that fail to install because:
> >
> > # rpm -Uvh MySQL*
> > error: Failed dependencies:
> > libmysqlclient.so.10 is needed by (installed) perl-DBD-MySQL-2.1017-3
> > libmysqlclient.so.10 is needed by (installed) php-mysql-4.2.2-16
You should install MySQL-shared-compat rpm.
[papier@kalis papier]$ rpm -qpl MySQL-shared-compat-4.0.20-0.i386.rpm
/usr/lib/libmysqlclient.so
/usr/lib/libmysqlclient.so.10
/usr/lib/libmysqlclient.so.10.0.0
/usr/lib/libmysqlclient.so.12
/usr/lib/libmysqlclient.so.12.0.0
/usr/lib/libmysqlclient_r.so
/usr/lib/libmysqlclient_r.so.10
/usr/lib/libmysqlclient_r.so.10.0.0
/usr/lib/libmysqlclient_r.so.12
/usr/lib/libmysqlclient_r.so.12.0.0
Laurent
--
They told me I needed WIN95 or better ... so I chose GNU/Linux!