On Apr 18, 7:17am, Emmanuel Dreyfus wrote: } } On netbsd-6, using dlopen in a static binary will return NULL without } setting errno. errno is for syscalls. dlopen is not a syscall, so why would you expect it to set errno? }-- End of excerpt from Emmanuel Dreyfus