Try pointing one of the environment variables mentioned here to your installation of SDL2 before launching ECL:
https://developer.apple.com/library/archive/documentation/De...
LD_LIBRARY_PATH
DYLD_LIBRARY_PATH
DYLD_FALLBACK_LIBRARY_PATH
I don’t know if there’s a way to do that from within ECL.