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

undefined symbol: pam_set_data #27

Closed
Gussoh opened this issue Jan 10, 2017 · 3 comments
Closed

undefined symbol: pam_set_data #27

Gussoh opened this issue Jan 10, 2017 · 3 comments

Comments

@Gussoh
Copy link

Gussoh commented Jan 10, 2017

When using the latest stable, v0.8.0, I get
PAM unable to dlopen(pam_mysql.so): /lib/security/pam_mysql.so: undefined symbol: pam_set_data
when trying to authenticate the openvpn connection.

I noticed a commit, "Link the module with the PAM library", commit 6d5d20b..
I used this commit instead of latest stable and now it is working.

To summarise I cant use the latest commit since I get undefined symbols for SHA1Init or SHA1Final (previous issue I submitted), and I cant use the latest stable since I get undefined symbol: pam_set_data.

Thank you very much for the very good commit message! I would never have found this otherwise! :)

@NigelCunningham
Copy link
Owner

Thanks for the report. Credit goes to @wferi for the message.

I'll look into creating an alternative solution or just reverting that commit.

@wferi
Copy link
Contributor

wferi commented Jan 12, 2017

I can take credit for the commit message, but not for the fix itself, which originates from Christian Hammers (I neglected doing the research before). But honestly, I still don't understand precisely why pam_mysql works with some applications regardless.

@NigelCunningham
Copy link
Owner

A new release will be out soon, including this fix. I'll close this bug.

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

3 participants