Operation not permitted - libwine.so.1

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Post Reply
amivaleo
Newbie
Newbie
Posts: 2
Joined: Wed Sep 25, 2019 2:34 am

Operation not permitted - libwine.so.1

Post by amivaleo » Wed Sep 25, 2019 2:58 am

Hi!

I run Fedora 30 on my laptop.
Yesterday I tried to install wine using the following commands:

Code: Select all

$ sudo dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/30/winehq.repo
$ sudo dnf -y install winehq-stable
The installation seemed to work, but when I try to launch winecfg

Code: Select all

$ winecfg
/opt/wine-stable/bin/wine: error while loading shared libraries: libwine.so.1: cannot create shared object descriptor: Operation not permitted
or any *.exe file

Code: Select all

$ wine whatever.exe
/opt/wine-stable/bin/wine: error while loading shared libraries: libwine.so.1: cannot create shared object descriptor: Operation not permitted

I checked the ld libraries for the wine executable in /usr/bin:

Code: Select all

$ cd /usr/bin
$ ldd wine
	linux-gate.so.1 (0x2a9f2000)
	libwine.so.1 => /usr/bin/./../lib/libwine.so.1 (0x2a836000)
	libpthread.so.0 => /usr/bin/./../lib/libpthread.so.0 (0x2a815000)
	libc.so.6 => /usr/bin/./../lib/libc.so.6 (0x2a66e000)
	libdl.so.2 => /lib/libdl.so.2 (0x2a63b000)
	/lib/ld-linux.so.2 (0x2a9f3000)
Everything seems ok there.
So, why do I get that "cannot create shared object descriptor: Operation not permitted" error? :(

amivaleo
Newbie
Newbie
Posts: 2
Joined: Wed Sep 25, 2019 2:34 am

Re: Operation not permitted - libwine.so.1

Post by amivaleo » Thu Sep 26, 2019 10:39 am

I fixed this by giving

Code: Select all

$ sudo sysctl -w vm.mmap_min_addr=0
I found this solution here: https://wiki.winehq.org/Preloader_Page_Zero_Problem

Post Reply