HomeClusterLabs Projects

lib/common: check return value of dlsym() and not dlerror()

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

lib/common: check return value of dlsym() and not dlerror()

dlsym() on FreeBSD can set dlerror() even though it sucessfully returns
the address of the function. Without this change pacemaker will fail
with the following error:

Undefined symbol "_nss_cache_cycle_prevention_function"

Details

Provenance
David Shane Holden <dpejesh@yahoo.com>Authored on Jan 20 2016, 12:16 AM

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.