When linking with sasl, one needs also to specify the -dl, -lpam, and -lcrypt link flags: --- postfix-1.1.6.ebuild Sun Mar 31 23:13:08 2002 +++ /usr/portage/net-mail/postfix/postfix-1.1.6.ebuild Sat Mar 30 10:06:26 2002 @@ -61,7 +61,7 @@ # stuff we always want... CCARGS="${CCARGS} -I/usr/include -DHAS_PCRE -DUSE_SASL_AUTH" - AUXLIBS="${AUXLIBS} -L/usr/lib -lpcre -lsasl -ldl -lpam -lcrypt" + AUXLIBS="${AUXLIBS} -L/usr/lib -lpcre -lsasl" DEBUG="" cd ${S}
Ooops! That patch is backwards.
Fixed, although -lpam is used only if "pam" is in USE.