Thanks Victor.
Indeed, that was it the openssl problem.

I now have it set to the brew version of openssl. It compiled right through to 
the end.

set -- '-DUSE_TLS -I/usr/local/Cellar/openssl/1.0.2p/include'
set -- "$@" '-I/usr/local/opt/icu4c/include'
set -- "$@" '-DHAS_MYSQL -I/usr/local/include/mysql'
set -- '-DHAS_PCRE -I/usr/local/include'
set -- "$@" '-DUSE_SASL_AUTH -DUSE_CYRUS_SASL 
-DDEF_SERVER_SASL_TYPE=\"dovecot\" 
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sasl'
CCARGS="$@"

set -- '-lsasl2'
set -- "$@" '-L/usr/local/Cellar/openssl/1.0.2p/lib -lssl -lcrypto'
set -- "$@" '-L/usr/local/lib -ldb'
set -- "$@" '-L/usr/lib -lsasl2'
set -- "$@" '-L/usr/local/opt/icu4c/lib -licuuc'
AUXLIBS="$@"


make -f Makefile.init shared=yes dynamicmaps=yes \
       config_directory=/usr/local/etc/postfix \
       command_directory=/usr/local/sbin \
       daemon_directory=/usr/local/libexec/postfix \
       queue_directory=/var/spool/postfix \
       data_directory=/var/lib/postfix \
       html_directory=/usr/share/doc/postfix/html \
       manpage_directory=/usr/local/man \
       readme_directory=/usr/share/doc/postfix \
       mailq_path=/usr/local/bin/mailq \
       newaliases_path=/usr/local/bin/newaliases \
       sendmail_path=/usr/local/sbin/sendmail \
       "CCARGS=${CCARGS}" \
       "AUXLIBS=${AUXLIBS}" \
       'AUXLIBS_MYSQL=-L/usr/local/lib -lmysqlclient -lz -lm' \
       'AUXLIBS_PCRE=-L/usr/local/lib -lpcre’


Thanks again. You’re a legend!
Robert

> On 27 Nov 2018, at 14:49, Viktor Dukhovni <postfix-us...@dukhovni.org> wrote:
> 
> You must be using LibreSSL, rather than OpenSSL.  LibreSSL is not
> supported.
> 
> LibreSSL is squatting on OPENSSL_VERSION_NUMBER values for what
> would be OpenSSL 2.x.y, which would be expected to have features
> introduced in OpenSSL 1.1.0 and 1.1.1.
> 
> Recent MacOS ships LibreSSL, you need to use the include files
> and libraries of the real OpenSSL from Homebrew.
> 
>> On Nov 27, 2018, at 4:58 AM, rachalmers <racu...@gmail.com> wrote:
>> 
>> "_X509_getm_notBefore", referenced from:
>>     import-atom in libpostfix-tls.dylib
>> "_X509_up_ref", referenced from:
>>     import-atom in libpostfix-tls.dylib
>> ld: symbol(s) not found for architecture x86_64
>> clang: error: linker command failed with exit code 1 (use -v to see
>> invocation)
>> make: *** [smtpd] Error 1
>> make: *** [update] Error 1
>> make: *** [update] Error 2
>> 
>> As mentioned previously, I'm on a Mac, mostly Homebrew installs of code
>> things.
> 
> -- 
>       Viktor.
> 

Robert Chalmers
https://robert-chalmers.uk
aut...@robert-chalmers.uk
@R_A_Chalmers

Reply via email to