On Tue, Jun 30, 2009 at 11:36:17AM -0700, Evan Platt wrote: > At 06:34 PM 6/22/2009, you wrote: > >> Googling around, a few suggestions seem to be >> make -f Makefile.init makefiles CCARGS='-DUSE_SASL_AUTH -I/sw/include/sasl >> -DUSE_TLS -I/usr/include/openssl -DUSE_CYRUS_SASL -I/usr/local/lib/sasl2 >> -DHAS_SSL -I/usr/local/ssl/include/openssl' AUXLIBS='-L/usr/lib -lldap >> -L/usr/lib -llber -L/usr/lib -lsasl2 -lssl' >> >> I tried this, and the last few lines of make are: >> >> FO -DNO_KQUEUE -DHAS_PCRE -I/sw/include -g -O -I. -I../../include -DMACOSX >> -c smtpd_resolve.c >> cc -DUSE_SASL_AUTH -I/sw/include/sasl -DUSE_TLS -I/usr/include/openssl >> -DUSE_CYRUS_SASL -I/usr/local/lib/sasl2 -DHAS_SSL >> -I/usr/local/ssl/include/openssl -DBIND_8_COMPAT -DNO_NETINFO -DNO_KQUEUE >> -DHAS_PCRE -I/sw/include -g -O -I. -I../../include -DMACOSX -o smtpd >> smtpd.o smtpd_token.o smtpd_check.o smtpd_chat.o smtpd_state.o >> smtpd_peer.o smtpd_sasl_proto.o smtpd_sasl_glue.o smtpd_proxy.o >> smtpd_xforward.o smtpd_dsn_fix.o smtpd_milter.o smtpd_resolve.o >> ../../lib/libmaster.a ../../lib/libtls.a ../../lib/libdns.a >> ../../lib/libxsasl.a ../../lib/libmilter.a ../../lib/libglobal.a >> ../../lib/libutil.a -L/usr/lib -lldap -L/usr/lib -llber -L/usr/lib -lsasl2 >> -lssl -L/sw/lib -lpcre -flat_namespace >> /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols: >> _sasl_set_path >> >> Am I on the right path? Any suggestions?
You are using header files from SASL 2.1.22 or later, which define SASL_PATH_TYPE_CONFIG, but libraries from a version of SASL that does not have "sasl_set_path()". Change the order of "-L/sw/lib" to put it ahead of "-lsasl2". -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the "Reply-To" header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: <mailto:majord...@postfix.org?body=unsubscribe%20postfix-users> If my response solves your problem, the best way to thank me is to not send an "it worked, thanks" follow-up. If you must respond, please put "It worked, thanks" in the "Subject" so I can delete these quickly.