Hello everyone,

I am trying to install postfix. When I do make install, I get an error,
*/etc/postfix/post-install: Error: no /usr/sbin/postconf command found.
Re-run this command as /etc/postfix/post-install
command_directory=/some/where.
make: *** [install] Error 1
*
But, I can see postconf in /usr/sbin.
*r...@mayuresh-desktop:*/home/mayuresh/Desktop/Tools/Postfix/postfix-2.5.6*#
ls -l /usr/sbin/postconf
-rwxr-xr-x 1 root root 568127 2009-02-01 16:45 /usr/sbin/postconf
*
I followed instructions given in
http://archive.netbsd.se/?ml=postfix-users&a=2004-08&t=308185,

All the tests give the same outputs as in the thread. But,

*4. /usr/bin/env -i TZ=$TZ /bin/sh -c "
  /usr/sbin/postconf -d mail_version || {
echo postconf -d mail_version failed
exit 1
    }" echo $?

*gives*
**/usr/sbin/postconf: error while loading shared libraries:
libmysqlclient.so.16: cannot open shared object file: No such file or
directory
postconf -d mail_version failed
*
I checked LD_LIBRARY_PATH and LD_RUN_PATH, both point to correct directory,

r...@mayuresh-desktop:/home/mayuresh/Desktop/Tools/Postfix/postfix-2.5.6#
$LD_LIBRARY_PATH
bash: /usr/local/mysql/lib/mysql/: is a directory
r...@mayuresh-desktop:/home/mayuresh/Desktop/Tools/Postfix/postfix-2.5.6#
$LD_RUN_PATH
bash: /usr/local/mysql/lib/mysql/: is a directory

Does anybody have any idea what is going on here?

Thanks,
Mayuresh

Reply via email to