PyInstaller uses /usr/bin/sh
from real root instead of embedding one for os.system
#8258
Unanswered
GamePlayer-8
asked this question in
Help
Replies: 2 comments 3 replies
-
|
Beta Was this translation helpful? Give feedback.
2 replies
-
Since you're trying to run an external program, you should take a look at https://pyinstaller.org/en/latest/common-issues-and-pitfalls.html#launching-external-programs-from-the-frozen-application and reset |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Good evening,
There's an issue when using
os.system
in the executable. When I've compiled the app onglibc 2.35
and used onglibc 2.38
and I've gotsh: symbol lookup error: sh: undefined symbol: rl_trim_arg_from_keyseq
./usr/bin/sh
on my system is pointing at/usr/bin/bash
and when I've symlinked the/usr/bin/sh
to/usr/bin/dash
the problem is gone.The issue is why couldn't PyInstaller embed the
/usr/bin/sh
(readlink -f /usr/bin/sh
exactly) into the binary to avoid missing/usr/bin/sh
in the system?Beta Was this translation helpful? Give feedback.
All reactions