You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the Secrets SDK is installed from PyPI in a Linux environment that uses manylinux wheels, it fails to find libsecret shared libraries. Even if the libsecret-1-0 package is installed, it will look for them in a hardcoded path.
>>> from zowe.secrets_for_zowe_sdk import keyring
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.8/dist-packages/zowe/secrets_for_zowe_sdk/__init__.py", line 5, in <module>
from . import keyring
ImportError: libsecret-1-e4398220.so.0: cannot open shared object file: No such file or directory
The shared libraries do exist in the path "zowe.libs" (one level above "zowe/secrets_for_zowe_sdk") but the import fails at runtime. A work around is to set the LD_LIBRARY_PATH environment variable to point to the "zowe.libs" folder.
The text was updated successfully, but these errors were encountered:
Thank you for creating a bug report.
We will investigate the bug and evaluate its impact on the product.
If you haven't already, please ensure you have provided steps to reproduce the bug and as much context as possible.
When the Secrets SDK is installed from PyPI in a Linux environment that uses
manylinux
wheels, it fails to find libsecret shared libraries. Even if thelibsecret-1-0
package is installed, it will look for them in a hardcoded path.The shared libraries do exist in the path "zowe.libs" (one level above "zowe/secrets_for_zowe_sdk") but the import fails at runtime. A work around is to set the
LD_LIBRARY_PATH
environment variable to point to the "zowe.libs" folder.The text was updated successfully, but these errors were encountered: