On 17 Jul 2014, at 1:14 pm, Viktor Dukhovni <[email protected]> wrote: > > This is silly, the placement of "-L" options is irrelevant, only > their relative order matters. To not get confused, list all "-L" > options before all "-l<somelib>" options, no point in listing > anything twice. > > AUXLIBS='-L/usr/local/lib -L/usr/lib -L/usr/local/mysql/lib \ > -llber -lresolv -lpcre -lssl -lcrypto -lmysqlclient -lz -lm' > > you left out -lcrypto, Postfix needs both libssl and libcrypto. > > Why on earth "-I/usr/include/openssl", that's wrong, remove it. > > -- > Viktor.
OK, have made those changes, but still get the error.
make command is now:
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 -L/usr/lib -L/usr/local/mysql/lib \
-llber -lresolv -lpcre -lssl -lcrypto -lmysqlclient -lz -lm’
make install fails again with:
Undefined symbols for architecture x86_64:
"_FIPS_md_ctx_create", referenced from:
_tls_serverid_digest in libtls.a(tls_fprint.o)
_tls_data_fprint in libtls.a(tls_fprint.o)
"_FIPS_digestinit", referenced from:
_tls_serverid_digest in libtls.a(tls_fprint.o)
_tls_data_fprint in libtls.a(tls_fprint.o)
etc.
Yes Wietse, OpenSSL is in two places:
locate bin/openssl
/usr/bin/openssl
/usr/local/ssl/bin/openssl
I usually install things in /usr/local/ as this stops any updates from Apple
overwriting my installs and configurations.
I apologise if I’ve made stupid mistakes in the configuration!
Thanks,
James.
smime.p7s
Description: S/MIME cryptographic signature
