<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Thanks. That gave me a good configure and make on the 10.15.7 system. Have not installed or tried to run it yet.<div class=""><br class=""></div><div class="">Unfortunately, on the 10.13.6 system, with OpenSSL 1.1.1m now installed as well as nghttp2, while it configures OK, make throws an error with references to Xcode (MacOS proprietary subsystem). The 10.13.6 system has Xcode version 10 on it while the 10.15.7 system has Xcode version 11. Unfortunately, Xcode 11 requires MacOS 10.14 so upgrading the 10.13.6 system does not appear to be an option. The 10.13.6 system (a mid-2010 iMac) is also due for replacement so it may just have to live with Bind 9.16.x until it is replaced.</div><div class=""><br class=""></div><div class="">But in case anyone has any ideas, the error make throws is:</div><div class=""><br class=""></div><div class=""><font face="Monaco" class=""><span style="font-style: normal;" class="">Making all in isc<br class=""> CC netmgr/libisc_la-netmgr.lo<br class="">netmgr/netmgr.c:3536:10: error: address argument to atomic operation must be a<br class=""> pointer to non-const _Atomic type ('const isc_refcount_t *' (aka 'const<br class=""> _Atomic(uint_fast32_t) *') invalid)<br class=""> REQUIRE(VALID_NMHANDLE(handle));<br class=""> ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~<br class="">netmgr/netmgr-int.h:236:3: note: expanded from macro 'VALID_NMHANDLE'<br class=""> atomic_load(&(t)->references) > 0)<br class=""> ^<br class="">/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/stdatomic.h:134:29: note: <br class=""> expanded from macro 'atomic_load'<br class="">#define atomic_load(object) __c11_atomic_load(object, __ATOMIC_SEQ_CST)<br class=""> ^<br class="">./include/isc/util.h:279:34: note: expanded from macro 'REQUIRE'<br class="">#define REQUIRE(e) ISC_REQUIRE(e)<br class=""> ~~~~~~~~~~~~^~<br class="">./include/isc/assertions.h:46:11: note: expanded from macro 'ISC_REQUIRE'<br class=""> ((void)((cond) || \<br class=""> ^~~~<br class="">netmgr/netmgr.c:3544:10: error: address argument to atomic operation must be a<br class=""> pointer to non-const _Atomic type ('const isc_refcount_t *' (aka 'const<br class=""> _Atomic(uint_fast32_t) *') invalid)<br class=""> REQUIRE(VALID_NMHANDLE(handle));<br class=""> ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~<br class="">netmgr/netmgr-int.h:236:3: note: expanded from macro 'VALID_NMHANDLE'<br class=""> atomic_load(&(t)->references) > 0)<br class=""> ^<br class="">/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/stdatomic.h:134:29: note: <br class=""> expanded from macro 'atomic_load'<br class="">#define atomic_load(object) __c11_atomic_load(object, __ATOMIC_SEQ_CST)<br class=""> ^<br class="">./include/isc/util.h:279:34: note: expanded from macro 'REQUIRE'<br class="">#define REQUIRE(e) ISC_REQUIRE(e)<br class=""> ~~~~~~~~~~~~^~<br class="">./include/isc/assertions.h:46:11: note: expanded from macro 'ISC_REQUIRE'<br class=""> ((void)((cond) || \<br class=""> ^~~~<br class="">2 errors generated.<br class="">make[4]: *** [netmgr/libisc_la-netmgr.lo] Error 1<br class="">make[3]: *** [all-recursive] Error 1<br class="">make[2]: *** [all-recursive] Error 1<br class="">make[1]: *** [all-recursive] Error 1<br class="">make: *** [all] Error 2</span></font><br class=""><br class=""><div class="">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><div style="margin: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: Monaco;" class="">-- </div><div style="margin: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: Monaco;" class="">Larry Stone</div><div style="margin: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: Monaco;" class=""><a href="mailto:lstone19@stonejongleux.com" class="">lstone19@stonejongleux.com</a></div><div style="margin: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: Monaco;" class=""><br class=""></div></div><div class=""><br class=""></div></div></span><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br class=""><blockquote type="cite" class="">On Feb 21, 2022, at 4:19 PM, Mark Andrews <<a href="mailto:marka@isc.org" class="">marka@isc.org</a>> wrote:<br class=""><br class="">When building with OpenSSL in non system locations ensure that the PKG_CONFIG_PATH is properly set.<br class=""><br class="">e.g.<br class=""><br class="">OPENSSL=/opt/local<br class="">PKG_CONFIG_PATH=$OPENSSL/lib/pkgconfig<br class=""><br class="">Mark<br class=""><br class=""><blockquote type="cite" class="">On 22 Feb 2022, at 12:29, Larry Stone <<a href="mailto:lstone19@stonejongleux.com" class="">lstone19@stonejongleux.com</a>> wrote:<br class=""><br class="">So, just for fun, I decided to see if I could build 9.18.0 on my current MacBookPro (where I already run 9.16.26). It’s on MacOS Catalina 10.15.7 (cannot go higher - new MacBookPro coming soon!).<br class=""><br class="">First attempt to configure told me I either needed libnghttp2 or to configure with --disable-doh. I downloaded nghttp2 (v1.46.0) from <a href="http://nghttp2.org" class="">nghttp2.org</a> per the link in the release notes, built and installed it. Attempted to configure bind 9.18.0 and this time configure aborted with:<br class="">configure: error: in `[redacted dirpath]/bind-9.18.0':<br class="">configure: error: EVP_DigestSignInit/EVP_DigestVerifyInit support in OpenSSL is mandatory.<br class=""><br class="">Tried configuring with --disable-doh and received the same error. Googling that message and variations of it have turned up nothing useful (at least to me).<br class=""><br class="">OpenSSL version was 1.1.1a, I subsequently upgraded to 1.1.1m but same error. OpenSSL is installed in /usr/local/ssl and built with the standard ./configure; make.<br class=""><br class="">From config.log, the relevant part appears to be:<br class="">configure:17852: checking for EVP_DigestSignInit<br class="">configure:17852: gcc -o conftest -g -O2 -pthread -I/usr/local/ssl/include conftest.c -lpthread -lssl -lcrypto >&5<br class="">ld: library not found for -lssl<br class="">clang: error: linker command failed with exit code 1 (use -v to see invocation)<br class="">configure:17852: $? = 1<br class=""><br class="">(I then tried to build 9.18.0 on an older system I have running macOS 10.13.6. I did not try to install nghttp2 on it and configure worked fine with --disable-doh. But it then errored with some SSL issues (./openssl_shim.h:99:1: error: conflicting types for ‘OPENSSL_init_crypto’ was the first) but I have not started to dig into that (this system still has OpenSSL 1.1.1a)).<br class=""><br class="">Anyway, I’m stuck on the "configure: error: EVP_DigestSignInit/EVP_DigestVerifyInit support in OpenSSL is mandatory” error and not sure what direction to go. I think it’s an issue with OpenSSL but I can’t see what it is (and Bind 9.16.x builds fine). Probably something simple but I need a nudge in the right direction. Thanks.<br class=""><br class="">-- <br class="">Larry Stone<br class=""><a href="mailto:lstone19@stonejongleux.com" class="">lstone19@stonejongleux.com</a><br class=""><br class=""><br class=""><br class=""><br class=""><br class="">-- <br class="">Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list<br class=""><br class="">ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.<br class=""><br class=""><br class="">bind-users mailing list<br class="">bind-users@lists.isc.org<br class="">https://lists.isc.org/mailman/listinfo/bind-users<br class=""></blockquote><br class="">-- <br class="">Mark Andrews, ISC<br class="">1 Seymour St., Dundas Valley, NSW 2117, Australia<br class="">PHONE: +61 2 9871 4742 INTERNET: <a href="mailto:marka@isc.org" class="">marka@isc.org</a><br class=""><br class=""></blockquote><br class=""></div></body></html>