Postfix + mysql problem

Discussion in 'Installation/Configuration' started by thim, Nov 27, 2006.

  1. thim

    thim New Member

    My path of installing a mail server has already been a bit long, but i'm always there ...

    I have installed a Postfix with Mysql support through the centosplus repo.

    And everything seems to be installed correct.
    But never the less when i do a:

    Code:
    postfix check
    if get following error.

    Code:
    /usr/sbin/postconf: /usr/lib64/mysql/libmysqlclient.so.14: no version information available (required by /usr/sbin/postconf)
    
    When i do a locate of the libmysqlclient, it says it's located
    in /usr/lib64/mysql/libmysqlclient.so.14
    So the so file is were is it's supposed to be.

    ??? What can i do ???
     
  2. thim

    thim New Member

    I fixed it, after a lot of googling...

    Solution:

    Code:
    vi /etc/ld.so.conf
    Add as first your path to the mysql lib directory
    in my case /usr/local/mysql/lib/mysql

    so my ld.so.conf looks like this
    Code:
    /usr/local/mysql/lib/mysql
    include ld.so.conf.d/*.conf
    Make sure it's inserted before the include.

    After this save the file and do a

    Code:
    ldconfig
     

Share This Page