[Pdns-users] Building pdns RPMs using custom LDAP libraries/headers
tripivceta at hotmail.com
Fri Mar 22 16:06:30 UTC 2013
> Thanks for the reply.
> Please, see below.
> /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/libldap_r.so: > undefined reference to `ber_sockbuf_io_udp'
As suspected, the link editor is not finding the symbols (function definitions) it needs to resolve bindings in the object file(s).
What does your ~/.rpmmacros file looks like?
While technically not necessary, CFLAGS must often contain -L and -R switches to work around buggy or incorrectly coded ./configure files.Ditto for LDFLAGS.Do you set CFLAGS and LDFLAGS? What do they look like?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pdns-users