CPAN Testers failure for OpenBSD 4.9 and Perl 5.10.0:
Lucy only makes use of pthreads when no atomics library is available. It's
the last fallback: if pthreads.h isn't there, Lucy will fail to build.
In this case, Lucy built – so pthread.h is there – but lazy binding failed
for the symbols pthread_mutex_lock and pthread_mutex_unlock. This seems to
have happened because OpenBSD has userland pthreads, requiring the addition of
the `-pthread` flag at link time.
Lucy built and passed it's tests on other OpenBSD 4.9 boxen, but the Perls in
question have "-pthread" in the "ldflags", which gets passed along to the
linker via ExtUtils::CBuilder.
Linker and Libraries:
ld='cc', ldflags ='-pthread -Wl,-E -fstack-protector -L/usr/local/lib'