Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Dec 2002 15:01:57 -0600
From:      "Scot W. Hetzel" <hetzels@westbend.net>
To:        "Hernan Nunez" <hnunez@vianetworks.com.ar>, <freebsd-isp@FreeBSD.ORG>
Subject:   Re: Sendmail + Milter + Amavis-Milter
Message-ID:  <009a01c29bd8$64b10840$17fd2fd8@Admin01>
References:  <011b01c29bb8$e84096f0$92660ac8@ms.vianetworks.net.ar>

next in thread | previous in thread | raw e-mail | index | archive | help
From: "Hernan Nunez" <hnunez@vianetworks.com.ar>
>  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?009a01c29bd8$64b10840$17fd2fd8>