Recently libunbound started failing for me on macos with:
[1605563093] libunbound[25390:0] error: setsockopt(..., IP_DONTFRAG, ...) failed: Protocol not available
I tracked this down to the latest version of xcode (12.2) installing and switching to MacOSX 11.0 ("Big Sur") headers, where this macro is apparently now defined:
Recently libunbound started failing for me on macos with:
I tracked this down to the latest version of xcode (12.2) installing and switching to MacOSX 11.0 ("Big Sur") headers, where this macro is apparently now defined:
however it doesn't actually work (at least on my macos 10.15 build system) as the
setsockopt
fails with the error shown above.I worked around it by patching services/listen_dnsport.c with:
which fixes my libunbound use case built with this cursed new version of xcode, but I'm not sure whether that is a proper fix for this issue or not.
The text was updated successfully, but these errors were encountered: