clamav 0.70

Marius Strobl marius at
Mon Apr 5 07:52:28 PDT 2004

On Mon, Apr 05, 2004 at 10:26:58AM +0200, Przemyslaw Ciesielski wrote:
> hello.
> i've got problmes while compiling clamav 0.70:


> cc -O -pipe -march=pentiumpro -pthread -o clamscan clamscan.o options.o 
> getopt.o others.o manager.o treewalk.o  -L/usr/local/lib 
> -L/usr/ports/security/clamav/work/clamav-0.70-rc/libclamav 
> /usr/local/lib/ -lz -lbz2 -lc_r -Wl,--rpath 
> -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib

Clamav links against the installed version of libclamav instead of
the newly built one which in this case doesn't have the required
cli_strtok(). It should work if you remove the installed port of
clamav before compiling the new version.
The clamav port had a workaround for this (its build scripts and
makefiles are really horrible...) which was removed with the update
to 0.70rc.

More information about the freebsd-ports mailing list