-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 1.22.1
-
Component/s: Initial DNS Seedlist Discovery
-
None
Summary
User in mongodb/mongo-php-driver#1343 reported that they cannot compile libmongoc (either PHPC's bundled copy using Autotools or as a separate system library using CMake) with support for SRV resolution.
Support for mongodb+srv URIs was introduced in 1.9 with CDRIVER-2257. roberto.sanchez@mongodb.com pointed out that FreeBSD ports has a package for libmongoc 1.8.1, which would predate that. Additionally, kevin.albertson@mongodb.com noted that libmongoc does not explicitly support FreeBSD, nor is it tested on Evergreen.
I've cross-referenced this issue with another FreeBSD compat issue the same user reported in libmongocrypt, although that's not related to SRV resolution.
Environment
User compiled libmongoc 1.22.0 through PHPC and libmongoc 1.22.1 as a separate system library. Both failed to properly detect necessary resolution functions (i.e. MONGOC_HAVE_RES_SEARCH and MONGOC_HAVE_RES_NSEARCH were both 0).
FreeBSD version in use is 12.3.
Additionally configure output (from PHPC's build process) is available in the linked GitHub issue above. The relevant Autotools checks for that output comes from CheckResolv.m4.
- is depended on by
-
PHPC-2133 Cannot build driver with SRV support on FreeBSD
- Closed
- is related to
-
MONGOCRYPT-470 Build fails on FreeBSD. Error: Don't know how to get the module path on this platform
- Closed
-
CDRIVER-2257 Initial DNS Seedlist discovery
- Closed
- links to
- mentioned in
-
Page Loading...