I upgraded to OS X El Capitan and tried to install a new app (MPLAB X from Microchip) but I got an error because it couldn't copy a library to /usr/lib
even when it asked for root password. I tried to manually copying the library using sudo cp libSEGGERAccessLink.dylib /usr/lib
but it says cp: /usr/lib/libSEGGERAccessLink.dylib: Operation not permitted
.
Is this a permission issue? How can I write to /usr/lib
? ls -ld /usr/lib
returns:
drwxr-xr-x 263 root wheel 8942 Oct 2 15:49 /usr/lib