I know FreeBSD has such a call, but not Linux, and the only place i've found this was an implementation in Android, in its specialized linker that will manage to do this, but by meddling directly with the elf headers within the file.
Why i cant use the one who just uses the path? I want to load from memory (without resorting to create the file in temp fs), and for this i would use the memfd_create().
Anyway, i just want to know if there are any way to do this in Linux without having to "manually" do this by using libelf, DT_HASH, etc..
(Also in case i need to resort to elf, i bet i will be forced to do dependency resolution by hand, which will be pretty nasty just to be able to have this feature)