I have created patch to prefix those calls. More in bind-workers list at https://lists.isc.org/pipermail/bind-workers/2017-February/003402.html On Tue Jan 03 19:31:39 2017, pemensik@redhat.com wrote: > Hello ISC, > > we have trouble with exported getaddrinfo function (also getnameinfo, > freeaddrinfo, gai_strerror) from libirs. It is unclear to me why it > does export symbols without irs_ prefix and without its own header > file. I found some testing in configure script regarding salen > attribute. But it does not even test supported flags of system call. > > What is reason to reimplement library call provided usually by libc > library? I think there might be some testing in configure script > whether getaddrinfo implementation is sufficient. If not, it might add > its own symbols. But I would prefer something like lwresd_getaddrinfo: > irs_getaddrinfo, maybe with possibility to define getaddrinfo define > from header. I miss at least manual configure option to disable it. I > suspect there is some reason for it. Is there functionality missing > from system libraries? Would it make sense to export irs_ prefixed > variants where own implementation is needed and use system functions in > the other case? > > I have found libirs is usually used only by delv from bind package, > maybe to provide also verification. It is used also by DHCP server > however. But it prevents linking together with openldap library, which > is using flags that bind implementation does not support. > > See https://bugzilla.redhat.com/show_bug.cgi?id=1205168 > > What is a reason to export system calls? > > Best Regards, > > -- > Petr Menšík > Software Engineer > Red Hat, http://www.redhat.com/ > email: pemensik@redhat.com  PGP: 65C6C973