문제

I am trying to gcc my library with another static library and I get this error while runtime

 undefined symbol: security_getenforce

I am thinking this is related to selinux, not sure though... how do I resolve this?

Thanks, Vik.

도움이 되었습니까?

해결책

Figured it out, use -lselinux as the flag to resolve the issue and load the necessary libraries.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top