Thanks, Terry, for your reply.

I am not sure if I am using SELinux, AppArmor. I didn't install any of these
explicitly. I am not sure if they run by default.

While doing make, I used
*make makefiles 'CCARGS=-DHAS_MYSQL ** -I/usr/local/mysql/include/mysql
-DUSE_SASL_AUTH -I/usr/local/include/sasl -I/usr/local/bdb/include'
'AUXLIBS=-L/usr/local/mysql/lib/mysql -lmysqlclient -lz -lm -L/usr/local/lib
-lsasl2 -L/usr/local/bdb/lib'
*
And I got error during make install.

But, when I removed mysql related arguments from the make command,
everything worked fine. The make command I used now is,
 *make makefiles 'CCARGS=-DUSE_SASL_AUTH -I/usr/local/include/sasl
-I/usr/local/bdb/include' 'AUXLIBS=-lz -lm -L/usr/local/lib -lsasl2
-L/usr/local/bdb/lib'

*I am still not getting what the problem is. I am using the correct library
path */usr/local/mysql/lib/mysql *in the command which contains the file *
libmysqlclient.so.16

r...@mayuresh-desktop:/home/mayuresh/Desktop/Tools/Postfix/postfix-2.5.6# ls
/usr/local/mysql/lib/mysql
libdbug.a    libmyisammrg.a     libmysqlclient_r.a
libmysqlclient_r.so.16      libmysqlclient.so.16      libmysys.a  libz.la
libheap.a    libmysqlclient.a   libmysqlclient_r.la
libmysqlclient_r.so.16.0.0  libmysqlclient.so.16.0.0  libvio.a    plugin
libmyisam.a  libmysqlclient.la  libmysqlclient_r.so
libmysqlclient.so           libmystrings.a            libz.a

*And as mentioned in the previous mail postconf is also present in the
proper directory.

Then why is installation not allowing me to include mysql related arguments?

Thanks,
Mayuresh


On Sun, Feb 1, 2009 at 9:33 PM, Terry Carmen <te...@cnysupport.com> wrote:

> Mayuresh Kasture wrote:
>
>> 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
>> /
>>
> If you're running anything like SELinux or AppArmor, turn it off.
>
> If you're running a plain *nix install, something is screwed up in your
> installation package. Download a fresh copy from http://www.postfix.org/
> and try again.
>
> Troubleshooting your specific problem is possible, but probably not a
> productive use of your time.//
>
>> I followed instructions given in
>> http://archive.netbsd.se/?ml=postfix-users&a=2004-08&t=308185 <
>> http://archive.netbsd.se/?ml=postfix-users&a=2004-08&t=308185>,
>>
>>  Use the instructions that come with postfix or from the above URL. 3rd
> party instructions are not necessarily current or accurate.
> . . .
>
>> 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
>> /
>>
> The default postfix install does not use mysql. Unless you require it
> for something, it's probably a package dependency you're missing on a
> precompiled version of postfix. If you actually need mysql, you should
> make sure that mysql and the mysql client libraries are installed.
>
> Terry
>
> --
> Terry Carmen
> CNY Support, LLC
>
>
> http://cnysupport.com
>
>
>
>
>

Reply via email to