| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
While this PR has been tested and Works-For-Me (tm), actions/python-versions#275 sounds like it would be a better fix if it works as advertised, gets released & the pythons rebuilt... |
Sorry, something went wrong.
| if (!libPath.split(':').includes(pyLibPath)) { | ||
| core.exportVariable('LD_LIBRARY_PATH', pyLibPath + libPath); | ||
| } | ||
| ensurePathInEnvVar('LIBRARY_PATH', pyLibPath); |
There was a problem hiding this comment.
TBH, I wouldn't go with the route of LD_LIBRARY_PATH as some systems ( including containers) doesn't allow it as it's a security issue.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Description:
On Linux we already set LD_LIBRARY_PATH to the lib folder under the extracted Python, to allow running apps to find libPython and other libraries. This is not enough to let gcc find those libraries during compilation, e.g. as some Python dependencies do when installing. For this we also need to add the lib folder to the LIBRARY_PATH env-var.
Related issue:
Should fix #275
Not sure if the suggestion to override AGENT_TOOLSDIRECTORY for Linux if the existing advanced-docs is needed any more. It certainly didn't work for me and between the two *LIBRARY_PATH env-vars that should be enough.
Check list: