Load libsepol.so.1 instead of libsepol.so

libsepol.so symlink is usually part of the development package, try to
load the library directly instead.
This commit is contained in:
Laurent Bigonville 2015-10-27 23:41:31 +01:00 committed by Stephen Smalley
parent a0e52def36
commit d92388a8b0
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ from optparse import OptionParser
import ctypes
sepol = ctypes.cdll.LoadLibrary('libsepol.so')
sepol = ctypes.cdll.LoadLibrary('libsepol.so.1')
try:
import selinux