Ticket #47700 - Unresolved external symbol references break loading of the ACL plugin
Description of problem by nalin@redhat.com:
Various functions in the directory server are declared with extern "C"
linkage, causing the compiler to emit references to an unmangled symbol
name, but because their definitions don't match the declarations, and
the definitions are compiled using the C++ compiler, the implementations
are emitted as mangled symbols.
Fix description: Using ld option "-z defs", cleaned all the undefined
references.
https://fedorahosted.org/389/ticket/47700
Reviewed by rmeggins@redhat.com (Thank you, Rich!!)
(cherry picked from commit 16386dde80e62b3d45697b7538d84dcb4a09255a)