Frank DeChellis wrote:
../libclamav/.libs/libclamav.so: undefined reference to `readdir_r' collect2: ld returned 1 exit status
This is the interesting line. So my guess was wrong; it wasn't related to threading. The problem is that NetBSD 1.6.2 does not have a function called readdir_r.
The weird thing is that clamav checks whether a readdir_r function is available and uses another one if it isn't. But that check seems to return the wrong result. Can you please run "make configure; make debug" and post the output here?
Roland