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 version issues with 1.34.0 RPM #1036

Closed
rgajason opened this issue Dec 26, 2024 · 1 comment
Closed

libcrypt version issues with 1.34.0 RPM #1036

rgajason opened this issue Dec 26, 2024 · 1 comment
Labels
status:new This issue needs to be reviewed type:bug Something isn't working

Comments

@rgajason
Copy link
Contributor

Environment

  • ggshield version: 1.34.0
  • Operating system (Linux, macOS, Windows): Linux
  • Operating system version: RHEL9
  • Python version: N/A

Describe the bug

The 1.34.0 RPM ships libcrypto.so.1.1 but the bundled libpython3.9.so.1.0 is linked against libcrypt.so.1.

Steps to reproduce:

From a minimal EL9 installation, install GGShield RPM. Run ggshield --version.

Actual result:

$ ggshield --version
[179] Error loading Python lib '/usr/libexec/ggshield/_internal/libpython3.9.so.1.0': dlopen: libcrypt.so.1: cannot open shared object file: No such file or directory

Expected result:

$ ggshield --version
ggshield, version 1.34.0

In this specific case, the issue can be worked around by installing libxcrypt-compat instead of using the bundled libcrypt.

@rgajason rgajason added status:new This issue needs to be reviewed type:bug Something isn't working labels Dec 26, 2024
@agateau-gg agateau-gg mentioned this issue Jan 7, 2025
2 tasks
@agateau-gg
Copy link
Collaborator

Thanks for this report.

We build our standalone package using Rocky Linux 8, whose Python 3.9 interpreter indeed links to libcrypt.so.1, which is not part of the default install of Rocky Linux 9. The linked PR addresses this by bundling libcrypt.so.1 too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:new This issue needs to be reviewed type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants