-
-
Notifications
You must be signed in to change notification settings - Fork 758
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
pyinstaller ssh/openssh library loading issue / OpenSSL version mismatch #5897
Comments
I think the bug is slightly different than described above (update: cherio confirmed it is only in single-dir mode): The problem is that LD_LIBRARY_PATH_ORIG is only provided by pyinstaller, if there was a LD_LIBRARY_PATH in the original env. If not, things get complicated: https://github.com/borgbackup/borg/blob/1.1.16/src/borg/helpers.py#L2426 We check there if the LDLP contains Workaround for using the single-dir bundle, avoiding the problematic part of the code:
|
see also there: pyinstaller/pyinstaller#2892 |
"running under pyinstaller" detection is now as recommended by the pyinstaller docs.
…-1.1 fix pyinstaller detection for dir-mode, fixes #5897
…-master fix pyinstaller detection for dir-mode, fixes #5897
From the mailing list, reported by cherio:
It seems issue #514 is there again.
This was observed using
borg-linux64
andborg-linux64.tgz
1.1.15 and 1.1.16, but not with 1.1.14.1.1.14 was last borg built with pyinstaller 3.2.1.
1.1.15 was built with 4.0, 1.1.16 was built with 4.2.
The user uses borg binaries on Ubuntu 20.04.
So, system openssl is 1.1.1f, system ssh wants 1.1.1f.
Very likely the pyi bundle has 1.1.0 (for bundled python).
Related borg code:
The text was updated successfully, but these errors were encountered: