meteor / meteor/mongodb-builder

Building Mongo 7.0.8 fails with missing ldap.h

Open
#9 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Shell
Stars
13
Forks
9
PR merge metrics
No merged PRs in 30d

Description

Hi,
is it possible to adapt to latest Mongo bugfix 7.0.8. Seems there are some changes in crypt package and build fails with:

`
Checking for ldap_is_ldap_url("ldap://127.0.0.1") in C library ldap... no
Checking for ber_free(NULL, 0) in C library lber... no
Could not find and ldap library from OpenLDAP, required for LDAP authorization in the enterprise build
`

adding libldap2-dev libsasl2-dev does not help, configure fails with
`
Checking for ldap_is_ldap_url("ldap://127.0.0.1") in C library ldap... yes
Checking for ber_free(NULL, 0) in C library lber... yes
Checking for sasl_version_info(0, 0, 0, 0, 0, 0) in C library sasl2... yes
Checking for C library gssapi_krb5... no
KeyError: 'MONGO_GSSAPI_LIB':
File "/mongodb/SConstruct", line 6452:
env.SConscript(

`

tnx

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the MongoDB 7.0.8 build and inspect the OpenLDAP, SASL, and GSSAPI dependency checks, then read /mongodb/SConstruct around line 6452. Done means the build no longer fails with the missing ldap.h or MONGO_GSSAPI_LIB KeyError when the reported development packages are installed.

Written by the indexing model from the issue text.

Assessment

Tech stack
mongodb
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.