Title: [2.7] bpo-21622 ctypes.util find_library walk LD_LIBRARY_PATH (GH-10453) by jcastillo2nd · Pull Request #10455 · python/cpython · GitHub
Open Graph Title: [2.7] bpo-21622 ctypes.util find_library walk LD_LIBRARY_PATH (GH-10453) by jcastillo2nd · Pull Request #10455 · python/cpython
X Title: [2.7] bpo-21622 ctypes.util find_library walk LD_LIBRARY_PATH (GH-10453) by jcastillo2nd · Pull Request #10455 · python/cpython
Description: Originally, issue was open for case where SONAME wasn't part of binary. Later updates to the posix search case did include LD_LIBRARY_PATH but were not backported. Additionally, these had reliance on gcc and ldconfig behavior that breaks in some cases. e.g. musl on alpine builds This provides a find method that walks the LD_LIBRARY_PATH, checks for ELF bytes, and returns the name when found or None, matching the other behavior. This runs after all prior cases fail, does not rely on SONAME entry, gcc or ldconfig -p behavior. https://bugs.python.org/issue21622
Open Graph Description: Originally, issue was open for case where SONAME wasn't part of binary. Later updates to the posix search case did include LD_LIBRARY_PATH but were not backported. Additionally, these had relia...
X Description: Originally, issue was open for case where SONAME wasn't part of binary. Later updates to the posix search case did include LD_LIBRARY_PATH but were not backported. Additionally, these had r...
Opengraph URL: https://github.com/python/cpython/pull/10455
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:923c9864-117c-3f9c-072e-a09fca12aca6 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9ED2:2CE7AA:2AF396A:3A292FD:6A548C0F |
| html-safe-nonce | dc14e33339d82aa01e3e6d4f8a8441f5fb943267a4d621156fcc5f9696e78c86 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RUQyOjJDRTdBQToyQUYzOTZBOjNBMjkyRkQ6NkE1NDhDMEYiLCJ2aXNpdG9yX2lkIjoiNzk0MzIxOTU0NTI5NjM3NDc5OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 168925c68551fd63a57ad800f4945a7fd3803da6bebbe2d013d8091a49de3c77 |
| hovercard-subject-tag | pull_request:229915564 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/10455/files |
| twitter:image | https://avatars.githubusercontent.com/u/11005915?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/11005915?s=400&v=4 |
| og:image:alt | Originally, issue was open for case where SONAME wasn't part of binary. Later updates to the posix search case did include LD_LIBRARY_PATH but were not backported. Additionally, these had relia... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 03ccb116376fd46e8ba2a4cdc541e35f13f70734 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width