You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm experimenting with loading and executing libraries dynamically in a rust binary and have had excellent results using this library. I wanted to also try to remove the dependency on glibc to support running in scratch containers and built a example .a static library.
When I try to load the static library it fails from dlopen with the following error:
No, there is not, though notably this is not necessarily a fundamental limitation, but basically an extent of what is supported by the loader (also known as interpreter, dynamic linker, etc) binary has been loaded by or, in the case of Microsoft, the OS.
I'm experimenting with loading and executing libraries dynamically in a rust binary and have had excellent results using this library. I wanted to also try to remove the dependency on glibc to support running in scratch containers and built a example .a static library.
When I try to load the static library it fails from dlopen with the following error:
I can 'solve' this by creating a wrapper crate with crate-type dylib
Is there a way I can load a static library at runtime without having to create a dynamic library shim?
The text was updated successfully, but these errors were encountered: