Bug 1696459
| Summary: | psycopg2 fails due to missing libcrypt.so.1 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Michael DePaulo <mikedep333> |
| Component: | python-psycopg2 | Assignee: | Devrim Gündüz <devrim> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 30 | CC: | devrim, dvalts, hhorak, jmlich83, pkajaba, praiskup |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-04-04 21:53:17 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Whoops, I just realized that is the PyPi or source installed psycopg2 rather than the RPM-provided version. Hi Michael, what was your solution/workaround in the end? Declan V: Either install and use Fedora's psyocpg2 RPM, or install libxcrypt-compat and use the PyPi version or psyocpg2. |
Description of problem: While attempting to use psycopg2 with our application (Pulp 3), we are getting this error due to an undeclared dependency on libcrypt.so.1 It only seems to occur on Fedora 30 (& rawhide) because libxcrypt-compat was split off from the commonly used libxcrypt. File "/usr/local/lib/pulp/lib64/python3.7/site-packages/django/db/backends/postgresql/base.py", line 20, in <module> import psycopg2 as Database File "/usr/local/lib/pulp/lib64/python3.7/site-packages/psycopg2/__init__.py", line 50, in <module> from psycopg2._psycopg import ( # noqa ImportError: libcrypt.so.1: cannot open shared object file: No such file or directory