Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Dec 2002 14:16:38 -0300
From:      Hernan Nunez <hnunez@vianetworks.com.ar>
To:        <freebsd-isp@FreeBSD.ORG>
Subject:   Sendmail + Milter + Amavis-Milter
Message-ID:  <011b01c29bb8$e84096f0$92660ac8@ms.vianetworks.net.ar>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?011b01c29bb8$e84096f0$92660ac8>