Title: bpo-21622: ctypes.util find_library walk LD_LIBRARY_PATH by jcastillo2nd · Pull Request #10453 · python/cpython · GitHub
Open Graph Title: bpo-21622: ctypes.util find_library walk LD_LIBRARY_PATH by jcastillo2nd · Pull Request #10453 · python/cpython
X Title: bpo-21622: ctypes.util find_library walk LD_LIBRARY_PATH by jcastillo2nd · Pull Request #10453 · python/cpython
Description: Originally, issue was open for case where SONAME wasn't part of binary. Updates to the posix case did include LD_LIBRARY_PATH, but reliance on gcc and ldconfig behavior 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. Updates to the posix case did include LD_LIBRARY_PATH, but reliance on gcc and ldconfig behavior breaks in some cases. e....
X Description: Originally, issue was open for case where SONAME wasn't part of binary. Updates to the posix case did include LD_LIBRARY_PATH, but reliance on gcc and ldconfig behavior breaks in some cases...
Opengraph URL: https://github.com/python/cpython/pull/10453
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:69828e3e-88f8-bba8-d155-354e4a2fad9b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CF1E:2E1701:2436074:347E370:6A54FED8 |
| html-safe-nonce | 2be954203ed0fb05a33fa326a1a5caa8bed37ce68ebadd58d092b955d41d0b0d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjFFOjJFMTcwMToyNDM2MDc0OjM0N0UzNzA6NkE1NEZFRDgiLCJ2aXNpdG9yX2lkIjoiNjEyNTEzMTQ0NzYyNjE3MDA3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 833dbe91023b811702e81b0f58a122ec4eae16bbcad5709e860683b127897039 |
| hovercard-subject-tag | pull_request:229912250 |
| 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/10453/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. Updates to the posix case did include LD_LIBRARY_PATH, but reliance on gcc and ldconfig behavior breaks in some cases. e.... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | eae2aab99907699a22d2c8449aa683ca74454fca87211b98f7c7b722086b2839 |
| 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 | 6a35ab858be185cd86d12b93a43bccf34e8d8536 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width