> The libclamav build step gets linked with -lpthread, which should then
> get built into clamscan as well.
>
> All I can suggest at the moment is you try and link it by hand, with
> something like:
>
> cd clamscan
> gcc -g -O2 -o clamscan output.o getopt.o memory.o cfgparser.o misc.o
> clamscan.o options.o others.o manager.o treewalk.o
> ../libclamav/.libs/libclamav.a -lz -lbz2 -pthread

Back in the 3.1 days, IIRC, pthreads were not so stable on OpenBSD.  I
would try without pthreads first.

Benny


-- 
"I'm on the Zoloft to keep from killing y'all."
                                                  -- Mike Tyson

_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users

Reply via email to