<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hi folks,<o:p></o:p></p><p class=MsoNormal>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:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='background:white'><span style='font-size:8.5pt;font-family:"Courier New";color:black'>checking GeoIP.h usability... yes<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:8.5pt;font-family:"Courier New";color:black'>checking GeoIP.h presence... yes<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:8.5pt;font-family:"Courier New";color:black'>checking for GeoIP.h... yes<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:8.5pt;font-family:"Courier New";color:black'>checking for library containing GeoIP_open... no<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:8.5pt;font-family:"Courier New";color:black'>configure: error: GeoIP library not found<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>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.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I am hoping someone on the list has a workaround or other suggestion to accomplish this?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks,<o:p></o:p></p><p class=MsoNormal>Greg<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:8.0pt;font-family:"Verdana","sans-serif";color:black;mso-fareast-language:EN-GB'>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. </span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";mso-fareast-language:EN-GB'><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:8.0pt;font-family:"Verdana","sans-serif";color:#666666;mso-fareast-language:EN-GB'>BT Americas Inc. 415 Eagleview Blvd., Suite 112, Exton, PA 19341<br>BT Americas Inc. is a wholly owned subsidiary of British Telecommunications plc. </span><span style='font-size:8.0pt;font-family:"Verdana","sans-serif";color:#666666;mso-fareast-language:EN-GB'><o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>