log: Use RTLD_NOOPEN when checking symbols (#310)
log: Use RTLD_NOOPEN when checking symbols (#310)

on FreeBSD 11 call dlopen on a shared library causes the constructors
to run again. As we're just getting symbols we don't need this to
happen.

Actually we don't WANT it to happen because it can cause qb_log_init to
be called twice (recursively) and the dlnames list gets corrupted. This
causess corosync (at leasT0 to crash at startup.

Signed-off-by: Christine Caulfield <992cedbe1eac7dbaff482fcb880a50b57e6b8062@redhat.com>
ClusterLabs/libqb,ClusterLabs/libqb,kgaillot/libqb,ClusterLabs/libqb,kgaillot/libqb,kgaillot/libqb