Skip to content

Launch zenity from the pyinstaller packed app fails on some systems #8916

Answered by rokm
aFunkyBass asked this question in Help
Discussion options

You must be logged in to vote

If you want to run a system-installed program from the frozen application, you need to ensure that the subprocess uses only system libraries. Otherwise you might get various symbol conflicts, like the one you've shown above. You do that by resetting LD_LIBRARY_PATH environment variable in the environment passed to your subprocess (or restoring it from LD_LIBRARY_PATH_ORIG, if available).

See
https://pyinstaller.org/en/stable/common-issues-and-pitfalls.html#launching-external-programs-from-the-frozen-application
and
https://pyinstaller.org/en/stable/runtime-information.html#library-path-considerations

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@aFunkyBass
Comment options

@rokm
Comment options

rokm Dec 13, 2024
Maintainer

Answer selected by aFunkyBass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants