HomeClusterLabs Projects

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

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
Parents
rPe5964d586b43: lib/ipc: allow PCMK_ipc_buffer to be smaller than default max sizes
Branches
Unknown
Tags
Unknown

Event Timeline