Ed Vazquez wrote:
OS: OpenBSD 3.6-stable through 3.7-beta Compiler: gcc 2.95 (-stable), gcc 3.3.5 (-release and -beta) ClamAV: 0.83 and -devel (refreshed today)
Options: ./configure --sysconfdir=/etc/clamav --localstatedir=/var - --infodir=/usr/share/info --mandir=/usr/share/man - --enable-dependency-tracking --disable-cr --disable-clamuko - --disable-clamav --with-user=amavisd --with-group=amavisd - --with-dbdir=/var/db/clamav --with-libcurl LDFLAGS='-L/usr/local/lib' CPPFLAGS='-I/usr/local/include'
I have tried both from the "official" ports tree and from raw source. When trying from raw source I built both unpatched and using the OpenBSD port tree patches.
In all cases, I get to:
mkdir .libs gcc -g -O2 -o .libs/clamscan output.o getopt.o memory.o cfgparser.o misc.o clacan.o options.o others.o manager.o treewalk.o -L/usr/local/lib -L../libclamavlibs -lclamav -lbz2 - -lgmp -lcurl -lssl -lcrypto -lz -Wl,-rpath,/usr/local/lib output.o(.text+0x70): In function `logg_close': /home/src/virus/clamav-devel/clamscan/../shared/output.c:83: undefined referen to `pthread_mutex_lock'
------------------------^^^^^^^
Either install pthreads or use the --disable-pthreads option to configure. -- Ren� Berber
_______________________________________________ http://lurker.clamav.net/list/clamav-users.html
