On Oct 19, 2014, at 11:12 PM, Viktor Dukhovni <postfix-us...@dukhovni.org> 
wrote:

> 
>> $ make -f Makefile.init makefiles \
>>> CCARGS='-arch x86_64 -DUSE_TLS -DUSE_SASL_AUTH \
>>> -DDEF_SERVER_SASL_TYPE=\"dovecot\" \
>>> -DDEF_COMMAND_DIR=\"/usr/local/sbin\" \
>>> -DDEF_CONFIG_DIR=\"/usr/local/etc/postfix\" \
>>> -DDEF_DAEMON_DIR=\"/usr/local/libexec/postfix\" \
>>> -DHAS_PCRE -I/usr/local/include \
>>> -DHAS_MYSQL -I/usr/local/mysql/include' \
>>> AUXLIBS='-L/usr/local/lib -lpcre -lssl -lcrypto -L/usr/local/mysql/lib \
>>> -lmysqlclient -lz -lm -lresolv'
> 
> You should no longer need to specify "-lresolv" (though it won't
> fix this problem), and should never have needed to specify "-arch x86_64”.

Hmmm, that ‘-arch x86_64’ was in a note you (Viktor) posted on 5/11/14 in the 
topic "Client side DANE - minimum openssl version". 

FWIW, running OS X 10.9.5 (latest version of Mavericks), I get a good build of 
2.11.3 with
make -f Makefile.init makefiles \
            CCARGS='-arch x86_64 \
            -DUSE_TLS \
            -DUSE_SASL_AUTH \
            -DDEF_SERVER_SASL_TYPE=\"dovecot\"\
            -DDEF_COMMAND_DIR=\"/usr/local/sbin\"\
            -DDEF_CONFIG_DIR=\"/usr/local/etc/postfix\"\
            -DDEF_DAEMON_DIR=\"/usr/local/libexec/postfix\"\
            -DHAS_PCRE -I/usr/local/include' \
            AUXLIBS='-L/usr/local/lib -lpcre -lssl -lcrypto’

with or without the -arch x86_64. This is almost the same as what James Brown 
used except no -lresolv and I don’t use MySQL so all of that is removed. I’ve 
only done the build (not installed yet) but that is the same command I used for 
building my currently running 2.11.1.

-- 
Larry Stone
lston...@stonejongleux.com
http://www.stonejongleux.com/



Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to