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

next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message -----
From: "Scot W. Hetzel" <hetzels@westbend.net>
To: "Hernan Nunez" <hnunez@vianetworks.com.ar>; <freebsd-isp@FreeBSD.ORG>
Sent: Wednesday, December 04, 2002 6:01 PM
Subject: Re: Sendmail + Milter + Amavis-Milter


> 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 ...
> >
> >
>
  -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
>

Yups you are right. It works .
But this confuse me -l<library> is a linker option so why omit them ..

Thanks


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?004801c29c5a$1cd472f0$92660ac8>