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

libcrypt.so.2 => not found - PHP 8.2 - Ubuntu 20 #48

Closed
virajkanwade opened this issue Jan 5, 2024 · 2 comments
Closed

libcrypt.so.2 => not found - PHP 8.2 - Ubuntu 20 #48

virajkanwade opened this issue Jan 5, 2024 · 2 comments

Comments

@virajkanwade
Copy link

virajkanwade commented Jan 5, 2024

On startup PHP says failed to load the lib since libcrypt.so.2 not found.

How do I get this lib? I only seem to find instructions on libcrypt.so.1.

Thanks

@QuChen88
Copy link
Contributor

QuChen88 commented Jan 6, 2024

This is usually indicative of the version of the Linux OS that you are running on. libcrypt.so.1 is on some of the older Linux distro. You can check under /lib to see which version of libcrypto you have.

Have you tried to compile this client extension from source on your Ubuntu server? That should pick up whatever version of libcrypto you have and use it.

@virajkanwade
Copy link
Author

Not sure what happened. I recreated the instance and this time it just worked. I checked with ldd and this time it was looking for libcrypt.so.1.

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