On Thu, Aug 14, 2014 at 08:55:25AM +0200, Luigi Rosa wrote:
> Hi,
> I am trying to compile latest (2.11.1) Postfix on CentOS 7 64 bit with all
> uptates applied.
>
> Uname:
> Linux mail.acme.com 3.10.0-123.6.3.el7.x86_64 #1 SMP Wed Aug 6 21:12:36 UTC
> 2014 x86_64 x86_64 x86_64 GNU/Linux
>
> The make command line is:
>
> make -f Makefile.init makefiles \
> 'CCARGS=-DUSE_TLS -DHAS_MYSQL -I/usr/include/mysql -DUSE_SASL_AUTH
> -DDEF_SERVER_SASL_TYPE=\"dovecot\"' \
> 'AUXLIBS=-L/lib64/libssl.so.10 -L/usr/lib64/mysql -lmysqlclient -lz
> -lm'
Where did you get this broken recipe? I would expect all the relevant
libraries and include files to be at their default locations on
this system. Therefore, unless some "-I" or "-L" flags prove
essential, I would start with:
make -f Makefile.init makefiles \
CCARGS='-DUSE_TLS -DHAS_MYSQL -DUSE_SASL_AUTH
-DDEF_SERVER_SASL_TYPE=\"dovecot\"' \
AUXLIBS='-lssl -lcrypto -lmysqlclient -lz -lm'
--
Viktor.