gh-99370: fix test_zippath_from_non_installed_posix by kkpattern · Pull Request #99483 · python/cpython
When build with shared enabled, we need to set `LD_LIBRARY_PATH` for the non-installed python environment in test_zippath_from_non_installed_posix so that the python binary and find and link the libpython.so.
Python can be built with platlibdir configured to "lib64". Use sys.platlibdir instead of "lib" in test_zippath_from_non_installed_posix.
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request
…9483) When build with shared enabled, we need to set `LD_LIBRARY_PATH` for the non-installed python environment in test_zippath_from_non_installed_posix so that the python binary and find and link the libpython.so. (cherry picked from commit 1df0752) Co-authored-by: Kai Zhang <kylerzhang11@gmail.com>
miss-islington added a commit that referenced this pull request
When build with shared enabled, we need to set `LD_LIBRARY_PATH` for the non-installed python environment in test_zippath_from_non_installed_posix so that the python binary and find and link the libpython.so. (cherry picked from commit 1df0752) Co-authored-by: Kai Zhang <kylerzhang11@gmail.com>
CuriousLearner added a commit to CuriousLearner/cpython that referenced this pull request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters