The current configuration system checks for the
function dlopen() inside the library 'libdl'. I guess
that this library exists in Linux, but it does not in
NetBSD (I suppose that FreeBSD and OpenBSD are just the
same in this case). This means that dlopen() is not
detected. Although, dlopen() and related functions are
provided by libc directly if the binary is compiled
dynamic.
I've attached a patch that modifies configure.in and
Makefile.am to make this work. You may want to modify
it to make it more generic, though.
Regards.
The patch file
Logged In: YES
user_id=17917
I've a better patch now, that does not rely on uname to do the check. That was a hack, so this patch does it the right way ;) (note that this patch only modifies configure.in, for the Makefile.am patch take a look to the file I sent at first).