From owner-freebsd-isp Wed Dec 4 13: 2:29 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB55F37B401 for ; Wed, 4 Dec 2002 13:02:27 -0800 (PST) Received: from mail.westbend.net (ns1.westbend.net [216.47.253.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6CDB43EC2 for ; Wed, 4 Dec 2002 13:02:26 -0800 (PST) (envelope-from hetzels@westbend.net) Received: from Admin01 (WBIw003.westbend.net [216.47.253.23]) by mail.westbend.net (8.12.6/8.12.5) with SMTP id gB4L281K008984; Wed, 4 Dec 2002 15:02:12 -0600 (CST) (envelope-from hetzels@westbend.net) Message-ID: <009a01c29bd8$64b10840$17fd2fd8@Admin01> From: "Scot W. Hetzel" To: "Hernan Nunez" , References: <011b01c29bb8$e84096f0$92660ac8@ms.vianetworks.net.ar> Subject: Re: Sendmail + Milter + Amavis-Milter Date: Wed, 4 Dec 2002 15:01:57 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) X-Spam-Status: No, hits=-0.3 required=8.0 tests=QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01, USER_AGENT_OE version=2.43 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org From: "Hernan Nunez" > I would like to setup Sendmail + Milter-ng + Amavis with milter interface. > > I've been build my sendmail with the -DMILTER option then when i try to > compile amavis + milter i get an error with the shared library pthread.. Any > idea ??? > > Thanks in advance ... > > c -DAMAVISD_SOCKET=\"/var/run/amavis/milter.amavis\" -DRUNTIME_DIR=\"/var > /spool/amavis\" -DPID_FILE=\"/var/run/amavis/amavis-milter.pid\" -o > amavis-milter amavis-milter.c -L/usr/lib/libmilter/ -lmilter -lpthread > amavis-milter.c:129: warning: static declaration for `strlcpy' follows > non-static > /usr/libexec/elf/ld: cannot find -lpthread > *** Error code 1 > > The problem is "-lpthread" it should be "-pthread" on freebsd. Scot To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message