cd /usr/lib/mysql
rm libmysqlclient.so.14*
reinstall mysql
ldconfig -v
reinstall qmailtoaster

also, it is a symbolic link:

libmysqlclient.so.14 -> libmysqlclient.so.14.0.0



On 1/8/2011 6:20 AM, Bill Kwok wrote:
Randy,
Thx for your help. Actually, I've tried to remove both mysql and QMT and reinstall them again but the problem still there once I reload the user database. . Here's my mysql status:
[r...@mx1 users]# rpm -qa | grep mysql
mysql-bench-5.0.77-4.el5_5.4
mysql-5.0.77-4.el5_5.4
mysql-devel-5.0.77-4.el5_5.4
mysql-5.0.77-4.el5_5.4
mysql-devel-5.0.77-4.el5_5.4
mysql-server-5.0.77-4.el5_5.4
php-mysql-5.1.6-27.el5_5.3
[r...@mx1 users]# ldconfig -v | grep sql
ldconfig: /usr/lib/mysql/libmysqlclient.so.14 is not a symbolic link
/usr/lib/mysql:
        libmysqlclient.so.15 -> libmysqlclient.so.15.0.0
        libmysqlclient.so.14 -> libmysqlclient.so.14.0.0
        libmysqlclient_r.so.15 -> libmysqlclient_r.so.15.0.0
/usr/lib64/mysql:
        libmysqlclient.so.15 -> libmysqlclient.so.15.0.0
        libmysqlclient_r.so.15 -> libmysqlclient_r.so.15.0.0
        libsqlite3.so -> libsqlite3.so
        libsqlite3.so -> libsqlite3.so
        libsqlite3.so.0 -> libsqlite3.so.0.8.6
        libsqlite3.so.0 -> libsqlite3.so.0.8.6

Is there anything I miss?  Thx.
Best regards,
Bill
On Sat, Jan 8, 2011 at 7:16 PM, Randy Katz <rk...@simplicityhosting.com <mailto:rk...@simplicityhosting.com>> wrote:

    Hi,

    It is a problem with mysql, you might try to remove that file and
    then do a yum install (forcing reinstall), on my fresh centos 5
    system which
    is current it is pointing to a libmysqlclient.so.15 which is
    really just a soft link pointer:

    # rpm -qa | grep mysql
    mysql-5.0.77-4.el5_5.4
    mysql-bench-5.0.77-4.el5_5.4
    mysql-server-5.0.77-4.el5_5.4
    mysql-devel-5.0.77-4.el5_5.4
    php-mysql-5.1.6-27.el5_5.3
    [r...@mail2 /]# ldconfig -v | grep sql
    /usr/lib/mysql:
            libmysqlclient_r.so.15 -> libmysqlclient_r.so.15.0.0
            libmysqlclient.so.15 -> libmysqlclient.so.15.0.0
            libsqlite3.so -> libsqlite3.so
            libsqlite3.so.0 -> libsqlite3.so.0.8.6



    On 1/8/2011 2:36 AM, Bill Kwok wrote:

    Hi all,

    I tried to install QMT in a newly installed CentOS server but
    failed.  Here's my server version:

        [r...@mx1 qtms-install]# cat /etc/redhat-release
        CentOS release 5.5 (Final)
        [r...@mx1 qtms-install]# cat /proc/version
        Linux version 2.6.18-194.26.1.el5
        (mockbu...@builder10.centos.org
        <mailto:mockbu...@builder10.centos.org>) (gcc version 4.1.2
        20080704 (Red Hat 4.1.2-48)) #1 SMP Tue Nov 9 12:54:20 EST 2010
        [r...@mx1 qtms-install]# yum list mysql
        ...
mysql.i386 5.0.77-4.el5_5.4 installed mysql.x86_64 5.0.77-4.el5_5.4 installed

    I follow the installation stated in
    http://wiki.qmailtoaster.com/index.php/CentOS_5_QmailToaster_Install and
    the installation process looks fine.  After the installation,
    everything except that vpopmail looks fine.

         [r...@mx1 qtms-install]# vdominfo
        vdominfo: error while loading shared libraries:
        libmysqlclient.so.14: cannot open shared object file: No such
        file or directory

    And similar thing logged in submission log:

        [r...@mx1 qtms-install]# vdominfo
        vdominfo: error while loading shared libraries:
        libmysqlclient.so.14: cannot open shared object file: No such
        file or directory

    Would anyone tell me what's wrong?  Thanks in advance.
    Best regards,
    Bill




Reply via email to