سؤال

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