Re: Inputs for error " libselinux.so.1: cannot open shared object file: No such file or directory "

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Nov 7, 2020 at 6:57 AM Ashish Mishra <ashishm@xxxxxxxxxx> wrote:
> Hi Senior Member's  ,
>
> I am trying to get the SELINUX on one of our evaluation boards (MIPS based).
> The SDK running is custom makefile based & kernel is linux-4.9 series.
>
> 1) To get the selinux , i have enabled the kernel configuration w.r.t SELINUX
>      I can see the entry created under /sys folder
>             ~ # ls /sys/fs/selinux/
>
> 2) But when i run command of selinux  like selinuxenabled , i am getting
>      Error message of :
>      selinuxenabled: error while loading shared libraries:
> libselinux.so.1: cannot open shared object file: No such file or
> directory
>
>      But i can see the library at /lib folder
>           ~ # find / -name libselinux
>           ~ # find / -name 'libselinux*'
>                     /lib/libselinux.so
>                     /lib/libselinux.so.1
>
> Can members please provide any input as to which package is missing
> here or probable areas to look to solve the problem.
> Idea was to build a selinux setup

Hi Ashish,

This looks like the SELinux userspace libraries may not have been
built/installed correctly.  How did you install the SELinux userspace?

-- 
paul moore
www.paul-moore.com



[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux