Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1445 - postfix ebuild missing some linker flags
Summary: postfix ebuild missing some linker flags
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Grant Goodyear (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-31 23:15 UTC by Jon Nelson (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Nelson (RETIRED) 2002-03-31 23:15:21 UTC
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}
Comment 1 Jon Nelson (RETIRED) 2002-03-31 23:17:30 UTC
Ooops! That patch is backwards.
Comment 2 Grant Goodyear (RETIRED) gentoo-dev 2002-04-01 11:05:59 UTC
Fixed, although -lpam is used only if "pam" is in USE.