dlsym() can return NULL validly, so we can't use that as the error test.