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

duo_unix not working with openssl 3.0.8 #260

Closed
vijayakumarbathini opened this issue Aug 25, 2023 · 4 comments
Closed

duo_unix not working with openssl 3.0.8 #260

vijayakumarbathini opened this issue Aug 25, 2023 · 4 comments

Comments

@vijayakumarbathini
Copy link

Description

Amazon2023 Image Support, duo_unix not working with openssl 3.0.8 version that is built in AL 2023 image

Im encountering an error with login_duo. Here's the error message:

login_duo: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory

However, I've noticed that /lib64 has different versions of libssl and libcrypto.

lrwxrwxrwx. 1 root root 15 Jun 8 01:51 libssl.so -> libssl.so.3.0.8
lrwxrwxrwx. 1 root root 15 Jun 8 01:51 libssl.so.3 -> libssl.so.3.0.8
-rwxr-xr-x. 1 root root 689368 Jun 8 01:51 libssl.so.3.0.8
-rwxr-xr-x. 1 root root 435064 Mar 3 16:37 libssl3.so

Expected Behavior

duo_unix to pickup available lib crypto and libssl versions

Actual Behavior

duo_unix trying to find the older version of openssl, which can't be installed on new machine

Steps to Reproduce

  1. Run the login_duo command on any Linux Machine built with Amazon Linux 2023 image which has Openssl 3.0.8

Workarounds

@AaronAtDuo
Copy link
Contributor

@vijayakumarbathini Did you compile duo_unix from source, or install one of our packages? If you used a package, which one?

@vijayakumarbathini
Copy link
Author

I used one from fedora, duo_unix-2.0.2

@AaronAtDuo
Copy link
Contributor

The Fedora (I assume 12) package is built against the default openssl/crypto libraries that ship with Fedora, so that's why it's linked to openssl 3.

Since we don't ship an Amazon Linux targeted package, your best bet is to build from source, that way it will be sure to link to the versions available on your system.

@AaronAtDuo
Copy link
Contributor

Please reopen if building from source doesn't resolve the dependency issue

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