The ebuild does not call configure with --enable-libbind. This is a problem for programs like milter-greylist (http://hcpnet.free.fr/milter-greylist/) or dnscap (http://public.oarci.net/tools/dnscap) which need it to be compiled. I tried with my own ebuild, and added this configure's option but libbind is not installed, apparently. Reproducible: Always Steps to Reproduce: 1.emerge bind 2. 3. Actual Results: % locate libbind /usr/lib64/libbind9.so.30 /usr/lib64/libbind9.so /usr/lib64/libbind9.la /usr/lib64/libbind9.a /usr/lib64/libbind9.so.30.0.3 (libbind9 is something else) Expected Results: /usr/lib6/libbind.a (and .so)
Well, sorry but this is not a support forum. If you need help on writing your own ebuilds, then use #gentoo-dev-help IRC channel on Freenode or forums.gentoo.org. Thanks. NOTABUG.
I was not asking for help on making my applications or ebuilds, I was just reporting that there is no easy way (read: an USE flag or similar) to get libbind installed on a Gentoo system and closing the bug without reading the report will not help in that respect.
(In reply to comment #2) I have read your report. You are having trouble w/ enabling a feature that nothing in the current tree needs and which is disabled. That's not a bug. Also, you'd honestly be better off asking milter-greylist and dnscap upstream devs to fix their stuff so that it doesn't require the legacy BIND-8 libraries.
> so that it doesn't require the legacy BIND-8 libraries. What's the connection with BIND8 ? libbind does exist as well in BIND9. There is nothing BIND8-specific in it.
Example of a symbol (this one is used by dnscap) which is in libbind but not libbind9: % strings ./lib/bind/libbind.a |grep fp_query __fp_query __fp_query __fp_query __fp_query % strings ./lib/bind9/libbind9.a |grep fp_query % Do note it is BIND 9.4.1 (unless what someone said, that libbind is BIND8-specific, which is completely false).
Jakub is right - nothing in the current tree needs this library, so you can patch ebuild yourself and put in your local overlay. closing as 'later' to indicate that it should be reopened when something needs libbind will appear in portage. thanks for reporting.