user7366428
user7366428

Reputation: 25

OpenNI installation: operation not permitted

I am trying to install kinect on my macOS Sierra (10.12). I have used the explanation on greenfoot, so I downloaded Openni, KinectDriver and NITE, extracted them got to the unzipped directory through the terminal and tried to install using the command: sudo ./install.sh

This is what I get as a result though:

Installing OpenNI
****************************

copying shared libraries...cp: /usr/lib/libOpenNI.dylib: Operation not permitted
cp: /usr/lib/libOpenNI.jni.dylib: Operation not permitted
cp: /usr/lib/libnimCodecs.dylib: Operation not permitted
cp: /usr/lib/libnimMockNodes.dylib: Operation not permitted
cp: /usr/lib/libnimRecorder.dylib: Operation not permitted

I have tried to find a solution but i didn't manage to find something that could help me for Sierra.

Upvotes: 0

Views: 706

Answers (1)

Ccjack Yang
Ccjack Yang

Reputation: 16

It's rootless issue. Since 10.11, Apple don't give you root power to install the code. Try the second link to see whether you can get the root power back for installation. https://apple.stackexchange.com/questions/193368/what-is-the-rootless-feature-in-el-capitan-really

http://osxdaily.com/2015/10/05/disable-rootless-system-integrity-protection-mac-os-x/

Upvotes: 0

Related Questions