add dlerror message for static-linked dlsym failure