After updated Wine 5.12: libwine.so.1: No such file or directory

Questions about Wine on Linux
Locked
FinderX
Newbie
Newbie
Posts: 3
Joined: Sun Jul 12, 2020 1:42 pm

After updated Wine 5.12: libwine.so.1: No such file or directory

Post by FinderX »

Hi, I update my distro from Linux Mint 19.3 to 20.0 and soon after updated my wine-devel branch from 5.10 to 5.12 and after the update all my games is not working...

In terminal I check version and had 5.12 and when try to enter the wine config in any of my prefixes this legend happens:

Code: Select all

/opt/wine-devel/bin/wine: error while loading shared libraries: libwine.so.1: cannot open shared object file: No such file or directory
I follow the instructions of the wine wiki for Ubuntu 20.04, that's the base for Linux Mint 20, and the wine is not working and apparently some lib is not installed in the process.

Some help is appreciated, thanks.
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: After updated Wine 5.12: libwine.so.1: No such file or directory

Post by jkfloris »

Make sure you have installed the wine-devel-i386:i386 package.
What is the output of:

Code: Select all

ldd /opt/wine-devel/bin/wine
FinderX
Newbie
Newbie
Posts: 3
Joined: Sun Jul 12, 2020 1:42 pm

Re: After updated Wine 5.12: libwine.so.1: No such file or directory

Post by FinderX »

jkfloris wrote: Tue Jul 14, 2020 5:30 pm Make sure you have installed the wine-devel-i386:i386 package.
What is the output of:

Code: Select all

ldd /opt/wine-devel/bin/wine
Hi jkfloris, I try to install that package, this is the result

Code: Select all

~/ $ sudo apt install wine-devel-i386:i386
Reading package lists... Done
Building dependency tree       
Reading state information... Done
wine-devel-i386:i386 is already the newest version (5.12~focal).
wine-devel-i386:i386 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
And the result of ldd is

Code: Select all

~/ $ ldd /opt/wine-devel/bin/wine
	linux-gate.so.1 (0xf7f67000)
	libwine.so.1 => /opt/wine-devel/bin/../lib/libwine.so.1 (0xf7ddb000)
	libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7d97000)
	libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf7d91000)
	libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7ba3000)
	/lib/ld-linux.so.2 (0xf7f68000)
I try the wine version 5.03 from my distribution repository and some game works, but with the old version, now I reinstalled the devel 5.12 version again, and something change, now I can enter to winecfg but the games crash in the beginnings...
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: After updated Wine 5.12: libwine.so.1: No such file or directory

Post by jkfloris »

but the games crash in the beginnings...
Can you post a terminal output?
v_mil
Level 1
Level 1
Posts: 7
Joined: Sat Nov 05, 2011 2:56 pm

Re: After updated Wine 5.12: libwine.so.1: No such file or directory

Post by v_mil »

A dangerous workaround by Kaneda from https://stackoverflow.com/questions/627 ... -with-sudo:

Code: Select all

sudo chown -R <user> /opt/wine-<branch>
This allows full access to all files in Wine installation folder, which is vulnerable.
This shows, that wine is trying to take write access to the libraries. This is a bug.
After fixing the bug, it is necessary to close the assess:

Code: Select all

sudo chown -R root /opt/wine-<branch>
Locked