1 min read
terminal – Mac M1 the right way to copy dylib file to usr/lib in macOS Large Sur/?
I’ve a requirement to repeat a dylib file to usr/lib folder. Despite the fact that I’ve disabled csruitl in restoration mode to bypass the SIP. Nonetheless I can’t copy this file to the usr/lib
folder. I’ve additionally tried sudo cp libstdc+.dylib /usr/lib/
, however no luck.
From another articles I’ve learn, I’m advised to repeat the dylib file to /usr/native/lib
with the install_name_tool
.
If my goal location is usr/lib, the file is libstdc+.dylib, and if i put my file into the advised location /usr/native/lib, then what ought to my command be in Terminal?
Or is there any simpler means to do that? Would anybody please assist?