From owner-freebsd-isp Wed Dec 4 9:16:22 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 98DFE37B401 for ; Wed, 4 Dec 2002 09:16:20 -0800 (PST) Received: from ns1.via-net-works.net.ar (ns1.via-net-works.net.ar [200.10.100.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id D98F043EA9 for ; Wed, 4 Dec 2002 09:16:18 -0800 (PST) (envelope-from hnunez@vianetworks.com.ar) Received: from pchnunez (pc-hnunez.vianetworks.com.ar [200.10.101.5] (may be forged)) by ns1.via-net-works.net.ar (8.12.6/8.12.6) with SMTP id gB4HG6ku020128 for ; Wed, 4 Dec 2002 14:16:06 -0300 (ART) (envelope-from hnunez@vianetworks.com.ar) From: Hernan Nunez Message-ID: <011b01c29bb8$e84096f0$92660ac8@ms.vianetworks.net.ar> To: Subject: Sendmail + Milter + Amavis-Milter Date: Wed, 4 Dec 2002 14:16:38 -0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit 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 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 Hi, 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 ... cc -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 ################# # pthread library path ################# ls -la /compat/linux/lib/pthread ############################### # Linux Compat is Enabled and Working ############################### kldstat Id Refs Address Size Name 1 4 0xc0100000 399530 kernel 2 1 0xc2700000 18000 ipl.ko 3 1 0xc2785000 14000 linux.ko 4 1 0xc27af000 9000 netgraph.ko Hernan Nuñez ((oK | VIA NET.WORKS Argentina NICAR-P37184 | hnunez@vianetworks.com.ar | local touch global reach System Administrator | Tecnología y Operaciones | http://www.vianetworks.com.ar + ICQ: 36528552 | DDI +54 11 43233333 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message