[Fix] Search system paths for shared libraries#65
Conversation
|
If you are using AI programming, it's best to validate it locally before submitting a pull request. |
|
I did not have AI weite this, I just did not run the test suite locally. I did test the change locally, and it worked. I'll check what's going wrong here... |
|
Tests pass locally. The issue was a missing import statement. |
|
I'm closing this for now, as the library-search is still failing in my case. I believe I must have had a hardcoded path when I initially tested this that allowed the library to load correctly. Apologies for the bother! |
|
Ok, I have this straightened out now -- I had unset |
This PR implements using
ctypes.util.find_libraryto find the shared library paths while still falling back to the manual path searching logic.This improves support for libraries which are installed into standard locations, or which appropriately install themselves with the correct linker targets.
Closes #63