-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pybind: work around find_library() not searching LD_LIBRARY_PATH
Commit b28b64a ("pybind: use find_library for libcephfs and librbd") switched us to find_library(), but this function doesn't seem to respect LD_LIBRARY_PATH. There are numerous python tickets, dating back several years, but alas. Work around it by using the soname as a fallback. (rados.py has been fixed by commit e46d2ca ("fix the bug ctypes.util.find_library to search for librados failed on Centos6.4.") Signed-off-by: Ilya Dryomov <[email protected]>
- Loading branch information
Showing
2 changed files
with
24 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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