BIND 9.10.2-P3 with GeoIP on Solaris

greg.rabil at bt.com greg.rabil at bt.com
Wed Sep 2 16:07:49 UTC 2015


Hi folks,
I am attempting to build BIND 9.10.2-P3 with support for GeoIP on Solaris, but I want a statically linked version of the 'named' binary.  On Linux, when I build the GeoIP library, I specify the '-disable-shared' configure flag, and then when I use the GeoIP install directory as the value for the '-with-geoip' when building BIND, all works fine and, as expected, I end up with a 'named' binary that is statically linked with the GeoIP library.  However, if I follow this process on Solaris, the BIND configure step fails with:

checking GeoIP.h usability... yes
checking GeoIP.h presence... yes
checking for GeoIP.h... yes
checking for library containing GeoIP_open... no
configure: error: GeoIP library not found

If I rebuild GeoIP library without '-disable-shared', then BIND configure and make complete successfully, but then I have a runtime dependency on the GeoIP library, which I'm trying to avoid.

I am hoping someone on the list has a workaround or other suggestion to accomplish this?

Thanks,
Greg
This email contains BT information which may be privileged or confidential. It is meant only for the individual(s) or entity named above. If you are not the intended recipient, note that disclosing, copying, distributing or using this information is prohibited. If you have received this email in error, please let me know immediately on the email above. Thank you. We monitor our email system and may record your emails.
BT Americas Inc. 415 Eagleview Blvd., Suite 112, Exton, PA 19341
BT Americas Inc. is a wholly owned subsidiary of British Telecommunications plc.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20150902/5ba11424/attachment-0001.html>


More information about the bind-users mailing list