Hello,
When I try to compile clamav 0.86.2p0 from ports
(using cvs up -rOPENBSD_3_7, in a 3.7 machine), I get
this error bellow.
It looks like it is trying to link to
/usr/local/lib/libclam.so.1.8, which doesn't have the
symbol "cl_dup".
ports/security/clamav.../libclamv/.libs/libclamav.so.1.16
has this symbol tought.
Why is it trying to link to the old libclamav? How can
I do it link to the new one?
Thanks.
The error:
Making all in clamd
/bin/sh ../libtool --mode=link cc -O2 -pipe
-L/usr/lib -L/usr/local/lib -o clamd output.o
cfgparser.o getopt.o memory.o misc.o options.o
clamd.o tcpserver.o localserver.o session.o thrmgr.o
server-th.o scanner.o others.o clamuko.o
dazukoio_compat12.o dazukoio.o
../libclamav/libclamav.la -pthread -pthread
cc -O2 -pipe -o .libs/clamd output.o cfgparser.o
getopt.o memory.o misc.o options.o clamd.o tcpserver.o
localserver.o session.o thrmgr.o server-th.o scanner.o
others.o clamuko.o dazukoio_compat12.o dazukoio.o
-pthread -pthread -L/usr/lib -L/usr/local/lib
-L../libclamav/.libs -lclamav -lbz2 -lgmp -lcurl -lssl
-lcrypto -lz -Wl,-rpath,/usr/local/lib
misc.o(.text+0xcb): In function `freshdbdir':
: warning: sprintf() is often misused, please use
snprintf()
/usr/local/lib/libgmp.so.6.3: warning: vsprintf() is
often misused, please use vsnprintf()
server-th.o(.text+0x98a): In function `acceptloop_th':
: undefined reference to `cl_dup'
collect2: ld returned 1 exit status
*** Error code 1
Stop in
/usr/ports/security/clamav/w-clamav-0.86.2p0/clamav-0.86.2/clamd
(line 322 of Makefile).
*** Error code 1
Stop in
/usr/ports/security/clamav/w-clamav-0.86.2p0/clamav-0.86.2
(line 368 of Makefile).
*** Error code 1
Stop in
/usr/ports/security/clamav/w-clamav-0.86.2p0/clamav-0.86.2
(line 227 of Makefile).
*** Error code 1
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com