Closed
Description
Loading libraries dynamically via ctypes.LoadLibrary doesn't resolve dependencies, even if you load the dependent libraries first. Seems to be an OSX specific thing, and other python libraries have ran into this (tensorflow)
Indeed, even the default pybind11 library that was generated by robotpy-build isn't able to find the library that it linked to. I suspect this could be addressed by changing the import path.
One potential solution is to install libraries to ~/lib: tensorflow/tensorflow#6729 (comment) ... this is doable with a post-install step but we would want to properly version the library file if we took that approach.
Other potential solutions include changing the libraries via install_name_tool
.
Metadata
Metadata
Assignees
Labels
No labels