Skip to content

Fails to build with OpenLDAP 2.5+ – libldap_r has been merged into libldap #438

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jirutka opened this issue Nov 2, 2021 · 2 comments
Closed

Comments

@jirutka
Copy link
Contributor

jirutka commented Nov 2, 2021

gcc -shared -Wl,--as-needed,-O1,--sort-common -fno-semantic-interposition -Wl,--as-needed,-O1,--sort-common -fno-semantic-interposition -Wl,--as-needed,-O1,--sort-common -Os -fomit-frame-pointer -Os -fomit-frame-pointer build/temp.linux-x86_64-3.9/Modules/LDAPObject.o build/temp.linux-x86_64-3.9/Modules/berval.o build/temp.linux-x86_64-3.9/Modules/common.o build/temp.linux-x86_64-3.9/Modules/constants.o build/temp.linux-x86_64-3.9/Modules/functions.o build/temp.linux-x86_64-3.9/Modules/ldapcontrol.o build/temp.linux-x86_64-3.9/Modules/ldapmodule.o build/temp.linux-x86_64-3.9/Modules/message.o build/temp.linux-x86_64-3.9/Modules/options.o -L/usr/lib -lldap_r -llber -o build/lib.linux-x86_64-3.9/_ldap.cpython-39-x86_64-linux-musl.so
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find -lldap_r
collect2: error: ld returned 1 exit status
error: command '/usr/bin/gcc' failed with exit code 1

OpenLDAP 2.5 Announcement:

libldap_r has been merged with libldap

@jirutka jirutka changed the title Fails to build with OpenLDAP 2.6 – libldap_r has been merged into libldap Fails to build with OpenLDAP 2.5+ – libldap_r has been merged into libldap Nov 2, 2021
@tiran
Copy link
Member

tiran commented Nov 2, 2021

Closing this as duplicate of #432

@tiran tiran closed this as completed Nov 2, 2021
@jirutka
Copy link
Contributor Author

jirutka commented Nov 2, 2021

Ah, sorry, I had to mistype the query or something cause I’ve been trying to find existing issues for this problem and found none.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants