@andrewrk Glad you like the idea, honestly dlopen without libc from a static executable feels like a superpower.
I’m not a nix user, but it seems library search paths are not standard there. The loader supports LD_LIBRARY_PATH, but the internet says DT_RPATH / DT_RUNPATH are often used, and I delayed implementing them because I had never encountered an actual use case. Maybe the time has come! Can you check with readelf whether for example libvulkan_intel.so makes use of that kind of thing? I think adding an entry to LD_LIBRARY_PATH for each dynamic library is not very convenient ![]()