On Wed, 7 Mar 2012 15:46:25 -0800 (PST), Scott Brown <scottwb...@yahoo.com> 
wrote:

> I am trying to install Postfix with mysql on CentOS 6.0.
> I am trying to follow the instructions 
> at http://www.postfix.org/MYSQL_README.html
> I downloaded the mysql libraries and source code.
> The libmysql was extracted 
> to /usr/local/mysql-connector-c-6.0.2-linux-glibc2.3-x86-32bit
> 
> So from the postfix-2.9.1 directory, I ran:
> make -f Makefile.init makefiles \
>     'CCARGS=-DHAS_MYSQL
> -I/usr/local/mysql-connector-c-6.0.2-linux-glibc2.3-x86-32bit/include' \
>     'AUXLIBS=-L/usr/local/mysql-connector-c-6.0.2-linux-glibc2.3-x86-32bit/lib
> -lmysqlclient -lz -lm'

Actually, I don't know the compatibility of libmysql with
libmysqlclient, did you tried 'ldconfig' after installed that
library ?
or, you should use MySQL-devel-....rpm in order to follow
the README instructions safely.

> Then ran the make command
> 
> When I try to run make install, I get this error:
> bin/postconf: error while loading shared
> libraries: libmysql.so.16: cannot open shared object file: No such file or
> directory 

you should check
# ldd bin/postconf
(in Linux) or something like that after this kind of errors.

Attachment: pgpi0BEIvbdFO.pgp
Description: PGP signature

Reply via email to