Swift shared libraries as plugins

You might want to try RTLD_NODELETE And see if it makes a difference - it’s what I used in Swift dynamic loading API - #24 by Joakim_Hassila1 - let me know if it makes a difference.