hello, does anybody use latest clamav on OpenBSD 3.7 box? I have found a compiling issue which I'm not able to solve.
./configure script with following options pass: ./configure --disable-clamuko --disable-cr --enable-bigstack but compiling stops with the following errors: --- CUT --- /bin/sh ../libtool --mode=link 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/libclamav.la mkdir .libs gcc -g -O2 -o .libs/clamscan output.o getopt.o memory.o cfgparser.o misc.o clamscan.o options.o others.o manager.o treewalk.o -L../libclamav/.libs -lclamav -lz -Wl,-rpath,/usr/local/lib misc.o(.text+0xcb): In function `freshdbdir': ../shared/misc.c:51: warning: sprintf() is often misused, please use snprintf() output.o(.text+0x70): In function `logg_close': ../shared/output.c:83: undefined reference to `pthread_mutex_lock' output.o(.text+0x89):../shared/output.c:90: undefined reference to `pthread_mutex_unlock' output.o(.text+0x1ad): In function `logg': ../shared/output.c:116: undefined reference to `pthread_mutex_lock' output.o(.text+0x2a5):../shared/output.c:185: undefined reference to `pthread_mutex_unlock' output.o(.text+0x39e):../shared/output.c:162: undefined reference to `pthread_mutex_unlock' output.o(.text+0x443):../shared/output.c:134: undefined reference to `pthread_mutex_unlock' output.o(.text+0x462):../shared/output.c:123: undefined reference to `pthread_mutex_unlock' ../libclamav/.libs/libclamav.so.1.16: undefined reference to `pthread_cleanup_pop' ../libclamav/.libs/libclamav.so.1.16: undefined reference to `pthread_cleanup_push' collect2: ld returned 1 exit status *** Error code 1 Stop in /tmp/clamav-0.86.2/clamscan (line 290 of Makefile). *** Error code 1 Stop in /tmp/clamav-0.86.2 (line 368 of Makefile). *** Error code 1 Stop in /tmp/clamav-0.86.2 (line 227 of Makefile). --- CUT --- Any idea? thanks a lot. t. _______________________________________________ http://lurker.clamav.net/list/clamav-users.html