Re: MySQL 5.0.18/Postfix 2.2.2-2



On Thu, 2006-03-09 at 20:03 +0000, Jim Douglas wrote:


From: Paul Howarth <paul@xxxxxxxxxxxx>
Reply-To: For users of Fedora Core releases <fedora-list@xxxxxxxxxx>
To: For users of Fedora Core releases <fedora-list@xxxxxxxxxx>
Subject: Re: MySQL 5.0.18/Postfix 2.2.2-2
Date: Thu, 09 Mar 2006 12:24:23 +0000

jludwig wrote:
On Wednesday 08 March 2006 19:30, Jim Douglas wrote:

I get the following error when trying to start Postfix after rebuilding
with MySQL 5.0.18

postfix: error while loading shared libraries: libmysqlclient.so.14:
cannot
open shared object file: No such file...

MySQL runs fine...anyone know where I can download/install
libmysqlclient.so.14?



(Fedore Core 4.)

Jim

After upgrading using rpm -Uvh --nodeps --force *.rpm
/usr/lib/libmysqlclient.so.14 is replaced with
/usr/lib/libmysqlclient.so.15.

You might try;

ln -s /usr/lib/libmysqlclient.so /usr/lib/libmysqlclient.so.14 or
ln -s /usr/lib/libmysqlclient.so.15 /usr/lib/libmysqlclient.so.14

If this will work I do not know.

Ugh.

For the umpteenth time: using "--nodeps" and/or "--force" is likely to
break your system, as the OP has found out. RPM's dependencies are there
for a reason and if you deliberately ignore them, don't be surprised when
other things break.

The correct fix for this problem is to install the MySQL4 compatibility
libraries, which include libmysqlclient.so.14. There is a mysqlclient14
package in rawhide for this purpose. You could probably rebuild the SRPM on
FC4 and install that to fix this problem.

Paul.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

I had already done this but was indeed afarid I was breaking something.
rpm -Uvh --nodeps --force postfix*.rpm

Rule of thumb: it's almost *never* the right thing to do if you're using
--force or --nodeps.

So I installed rawhide and then potfix with,

rpm -i postfix*.rpm

And there are no error messages and postfix works fine!

I don't have to re-install MySQL then Postfix. Do I ?

Don't know. I don't know which version(s) of MySQL and its client
libraries you're using, nor which version of postfix. If it's working,
it's a good sign. But there may be other breakage yet to appear.

If all you've got that's not the FC4 version now are (a) MySQL, and (b)
the mysqlclient14 package from rawhide, then you're probably OK.

Paul.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Linux/Unix system admin looking for job
    ... Administrated and configured more then 50 linux/unix servers. ... Managing of the mail service using Sendmail and Postfix (virtual domains, ... MySQL, Antispam, Antivirus, SMTP authentication SASL). ... Network management. ...
    (comp.unix.admin)
  • Linux/Unix system admin looking for job
    ... Administrated and configured more then 50 linux/unix servers. ... Managing of the mail service using Sendmail and Postfix (virtual domains, ... MySQL, Antispam, Antivirus, SMTP authentication SASL). ... Network management. ...
    (comp.unix.bsd.freebsd.misc)
  • Linux/Unix system admin looking for job
    ... Administrated and configured more then 50 linux/unix servers. ... Managing of the mail service using Sendmail and Postfix (virtual ... MySQL, Antispam, Antivirus, SMTP authentication SASL). ... Network management. ...
    (uk.comp.os.linux)
  • Re: MySQL 5.0.18/Postfix 2.2.2-2
    ... Subject: MySQL 5.0.18/Postfix 2.2.2-2 ... postfix: error while loading shared libraries: libmysqlclient.so.14: cannot ... The correct fix for this problem is to install the MySQL4 compatibility libraries, ... And there are no error messages and postfix works fine! ...
    (Fedora)
  • MySQL 5.0.18/Postfix 2.2.2-2
    ... I get the following error when trying to start Postfix after rebuilding with MySQL 5.0.18 ... postfix: error while loading shared libraries: libmysqlclient.so.14: cannot open shared object file: No such file... ...
    (Fedora)