Hello all.  I'm currently running a Qmail server on OpenBSD 3.4 that
I'd like to hook ClamAV into.  Problem is, I'm running into a problem
when I do a make.  Before it fails with at the end of the attempted
make, I receive the following lines:

/usr/local/src/clamav-0.83/libclamav/message.c:639: undefined
reference to `pthread_mutex_lock'
/usr/local/src/clamav-0.83/libclamav/message.c:661: undefined
reference to `pthread_mutex_unlock'
/usr/local/src/clamav-0.83/libclamav/message.c:655: undefined
reference to `pthread_mutex_unlock'
collect2: ld returned 1 exit status
*** Error code 1

Stop in /usr/local/src/clamav-0.83/clamscan (line 294 of Makefile).
*** Error code 1

Stop in /usr/local/src/clamav-0.83 (line 354 of Makefile).
*** Error code 1

Stop in /usr/local/src/clamav-0.83 (line 219 of Makefile).

There are SEVERAL similar lines to the first three before it.  Further
up, I also have this curious little message:

*** Warning: linker path does not have real file for library -lbz2.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libbz2 and none of the candidates passed a file format test
*** using a file magic. Last file checked: /usr/lib/libbz2.a
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.

*** Since this library must not contain undefined symbols,
*** because either the platform does not support them or
*** it was explicitly requested with -no-undefined,
*** libtool will only create a static version of it.

I sense this has something to do with it due to the "undefined
reference" messages at the end of the make.  Can someone point me in
the right direction?  Thanks in advance!

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

Reply via email to