I think you performed the magic. After I run "ldconfig", the old library
error is gone.

Now the error is "MYSQL server has gone away". I can connect to the mysql
server data. So why is this error? Is it possible that I may have done some
mistake in installing mysql?



-----Original Message-----
From: JB [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 05, 2004 11:00 AM
Subject: Re: [vchkpw] vpopmail installation on a Client MySQL Server

Make sure the directory where libmysqlclient.so.12 is located in listed 
in ld.so.conf. Don't forget to run ldconfig if you add a new path to 

Kirti S. Bajwa wrote:
> Rick:
> I do have the file libmysqlclient.so.12 in /usr/local/mysql/lib/mysql &
> /usr/local/mysql-4.0.20/libmysql/.lib. I have installed the mysql-client
> package. I am going to install full mysql package & see if the problem
> away.
> Kirti
> -----Original Message-----
> From: Rick Widmer [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 04, 2004 8:01 PM
> Subject: Re: [vchkpw] vpopmail installation on a Client MySQL Server
> Kirti S. Bajwa wrote:
>>/home/vpopmail/bin/vadddomain: error while loading sharred libraries:
>>libmysqlclient.so.12: cannot open shared object file: no such file or
>>What is this error & how to fix it?
> The mysql-client and/or mysql-devel packages (what ever RedHat calls 
> them) are not installed, or for some reason vpopmail can not find them. 
>    If you already have a file libmysqlclient.so.12 on the slave server, 
> let us know and we'll look at something different, but I bet you don't...
> Make sure the client library and include files are installed on the 
> slave machine.  I don't do Red Hat, so I can't help with specifics.
> or
> Just install all of the mysql packages on the slave and don't sweat the 
> extra couple of MB disk space they require.  You don't have to actually 
> start MySQL on the slave server.
> or
> If you have one box it works on, and another it does not and both are on 
> the same version of RH, just find the files vpopmail complains about on 
> the machine that has them, and copy them to the same directory on the 
> other machine.  There may be several files and vpopmail only reports one 
> at a time, so you may have to run - copy - run - copy several times.
> Rick

Reply via email to