You are not logged in.

#1 2016-10-14 20:39:37

l_obara
Member
Registered: 2016-07-15
Posts: 5

[Solved]Gnome gsettings libselinux.so.1 error

I've installed Arch on my laptop and installed gnome and gnome-extras afterwards. I'm attempting to set the default 'sort by' to 'type' but whenver I type

gsettings get org.gnome.nautilus.preferences default-sort-order type

into the terminal I am presented with the following message:

gsettings get org.gnome.nautilus.preferences default-sort-order type
gsettings: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory

I would like to resolve this since there are a number of changes I would like to make, but everytime I enter something to change I am presented with the above message.

Last edited by l_obara (2016-10-15 05:44:05)

Offline

#2 2016-10-14 21:48:06

loqs
Member
Registered: 2014-03-06
Posts: 19,184

Re: [Solved]Gnome gsettings libselinux.so.1 error

You seem to be confusing get and set

gsettings get SCHEMA [:PATH]  KEY

gsettings set SCHEMA [:PATH]  KEY VALUE

However the error message you are getting indicates another problem

$ pacman -Fo /usr/lib/libselinux.so.1

From the lack of results generated ( and this was after having just run pacman -Fy )
It appears that library is not supplied any package in the arch repositories.
Edit:

$ ldd -v /usr/bin/gsettings

Should allow you to identify which library wants libselinux.

Last edited by loqs (2016-10-14 22:05:00)

Offline

#3 2016-10-15 05:39:10

l_obara
Member
Registered: 2016-07-15
Posts: 5

Re: [Solved]Gnome gsettings libselinux.so.1 error

Thanks for clearing up the confusion I had with GET and SET. I managed to solve the issue by installing libselinux with the command

yaourt libselinux

Last edited by l_obara (2016-10-15 05:39:57)

Offline

Board footer

Powered by FluxBB