Re: error installing 6.0.0 RPMs

Bruce Guenter <[email protected]> Fri, 13 Jul 2007 09:11:27 -0600
Newsgroups gmane.mail.ezmlm
Message-ID <[email protected]>
On Thu, Jul 12, 2007 at 06:31:13PM -0400, Jeff Potter wrote:
> While trying to install the latest 6.0.0 RPMs, I hit two errors:
> >rpm -i ezmlm-idx-6.0.0-1.i386.rpm ezmlm-idx-mysql-6.0.0-1.i386.rpm
> >error: Failed dependencies:
> >        ezmlm-idx-mysql conflicts with ezmlm-idx-mysql-6.0.0-1.i386

Geez.  Bad typo in my spec file.  It was supposed to conflict with older
versions of ezmlm-idx-mysql, not the current one.

>  when trying to do a ezmlm-list of a list that uses MySQL, I get:
> >ezmlm-list: fatal: Could not load plugin /usr/lib/ezmlm/sub- 
> >sql.so: /usr/lib/ezmlm/sub-sql.so: cannot open shared object file:  
> >No such file or directory
> 
> For the fun of it, I did a symlink:
> >ln -s /usr/lib/ezmlm/sub-mysql.so /usr/lib/ezmlm/sub-sql.so

That's not just fun, it's documented in the UPGRADE.idx file (although I
see I have a slight typo there too).  Preferred would have been:

	ln -s sub-mysql.so /usr/lib/ezmlm/sub-sql.so

> which then changed the error message to:
> >ezmlm-list: fatal: Could not load plugin /usr/lib/ezmlm/sub- 
> >sql.so: /usr/lib/ezmlm/sub-sql.so: undefined symbol: mysql_fetch_row
> 
> My guess is that it's not finding the mysql libs  (under /usr/lib/ 
> mysql/ on CentOS). Suggestions?

That certainly sounds correct.  In that case you will either need to
rebuild the SRPM on CentOS, or add /usr/lib/mysql into /etc/ld.so.conf
-- 
Bruce Guenter <[email protected]>                http://untroubled.org/
	I do custom software development.  Email me for details.
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFGl5Yf6W+y3GmZgOgRApw5AJ9EqWruqsf6JFGkGcurOaOYLdhwhQCcDLVf
y0I9G2rrEW2J7DV82/jZEnI=
=hYva
-----END PGP SIGNATURE-----