SELinuxProject / selinux

This is the upstream repository for the Security Enhanced Linux (SELinux) userland libraries and tools. The software provided by this project complements the SELinux features integrated into the Linux kernel and is used by Linux distributions. All bugs and patches should be submitted to selinux@vger.kernel.org
Other
1.33k stars 359 forks source link

restore.c:(.text+0x229): undefined reference to `selinux_restorecon_parallel' #409

Closed TobRein closed 1 year ago

TobRein commented 1 year ago

Hello,

i try to compile selinux-3.5 and got the following error

/usr/lib64/gcc/x86_64-suse-linux/12/../../../../x86_64-suse-linux/bin/ld: restore.o: in function process_glob': restore.c:(.text+0x229): undefined reference toselinux_restorecon_parallel' /usr/lib64/gcc/x86_64-suse-linux/12/../../../../x86_64-suse-linux/bin/ld: restore.c:(.text+0x238): undefined reference to `selinux_restorecon_get_skipped_errors' collect2: error: ld returned 1 exit status make[2]: [: restorecon_xattr] Error 1 make[2]: Waiting for unfinished jobs.... make[2]: Leaving directory '/root/temp/selinux/selinux-3.5/policycoreutils/setfiles' make[1]: [Makefile:4: all] Error 1 make[1]: Leaving directory '/root/temp/selinux/selinux-3.5/policycoreutils' make: [Makefile:40: all] Error 1

is there missing some library in my system ?

best regards T. Reineck

TobRein commented 1 year ago

solved