I just downloaded and started to use ClamAV yesterday so if this has already been discussed then I'm sorry...
When trying to get clamav to work on openbsd I was able to compile and install but when I tried to run clamscan I would get the following error:
/usr/libexec/ld.so: Undefined symbol "_pthread_self" called from clamscan:/usr/local/lib/libclamav.so.1.2 at 0x4003227c
In order to fix this I had to change configure thusly:
diff: conflicting specifications of output style *** configure.orig Wed Mar 5 16:13:21 2003 --- configure Wed Mar 5 16:13:56 2003 *************** *** 8685,8690 **** --- 8685,8691 ---- if test "$have_pthreads" = "yes"; then LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS -pthread" CLAMD_LIBS="-pthread -lc_r" + CLAMSCAN_LIBS="-lc_r" TH_SAFE="-thread-safe" cat >>confdefs.h <<\_ACEOF #define CL_THREAD_SAFE 1
In other words I had to add -lc_r to the libraries linked. I'm not sure if this was the best solution or not, but it worked.
-Rich
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]