Hi,
I was trying to insert dynamic library using DYLD_INSERT_LIBRARIES on Monterey 12.2.1 but it was failing.
the command i used to insert is DYLD_INSERT_LIBRARIES="<path_to_dylib>" DYLD_FORCE_FLAT_NAMESPACE=1 <executable_name>
The same command was working fine on catalina and bigsur MacOS.
Note: inside dynamic lib(dylib) dlopen(SYSTEM_LIBC_PATH, RTLD_LAZY) function was used.