Hello, 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' 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 I found an article online (http://webhostingneeds.com/Error_while_loading_shared_libraries:_libmysqlclient.so.16) that suggests the /usr/lib/mysql path needs to be added to ld.so.conf, so I did that. I also created a symlink called libmysql.so.16 in that folder which points to libmysqlclient.so.16 (I did not actually have a file called libmysql.so.16). I am getting the impression libmysql is different from libmysqlclient. But I don't see where I can get this "libmysql" package. I tried "yum install libmysql" but it said there was no package available. Any help would be greatly appreciated! Thank you Scott Brown