Skip to content
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

BUILD: Link libwbclient with libdl #280

Closed
wants to merge 1 commit into from

Conversation

lslebodn
Copy link
Contributor

https://lists.fedorahosted.org/archives/list/sssd-users@lists.fedorahosted.org/message/HD5UETSOGEBAYEOVO35QUXKSZP5LAEA6/

dlopen-tests cannot catch it because it has to be linked with libdl

sh$ grep dlopen src/sss_client/libwbclient/
src/sss_client/libwbclient/wbc_pwd_sssd.c: ctx->dl_handle = dlopen("libnss_sss.so.2", RTLD_NOW);

sh$ nm --dynamic --undefined-only .libs/libwbclient.so | grep dlopen
U dlopen

dlopen-tests cannot catch it because it has to be linked with libdl

sh$ grep dlopen src/sss_client/libwbclient/
src/sss_client/libwbclient/wbc_pwd_sssd.c:    ctx->dl_handle = dlopen("libnss_sss.so.2", RTLD_NOW);

sh$ nm --dynamic --undefined-only .libs/libwbclient.so | grep dlopen
                 U dlopen
@fidencio
Copy link
Contributor

Patch looks good, ACK.

@fidencio fidencio self-assigned this May 24, 2017
@jhrozek
Copy link
Contributor

jhrozek commented May 24, 2017

@jhrozek jhrozek closed this May 24, 2017
@jhrozek jhrozek added the Pushed label May 24, 2017
@lslebodn lslebodn deleted the libwbclient_ldl branch May 24, 2017 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants