You are not logged in.

#1 2020-09-02 06:07:47

songohan98
Member
Registered: 2020-08-01
Posts: 7

Wine broken - failed to initialize

I keep getting this error when I run winecfg or wine <application.exe>

wine: failed to initialize: /usr/lib32/wine/ntdll.dll.so: cannot open shared object file: No such file or directory

**Wine worked before, after installing lutris, lutris had some errors while running, so all I did was install the 32-bit libraries for intel and nvidia driver and wine-mono for .Net applications. After that , wine stopped working and this is the error that keeps popping up. I removed wine and re installed it, no change.

Last edited by songohan98 (2020-09-02 06:13:18)

Offline

#2 2020-09-02 06:37:01

zaxdan69
Member
Registered: 2016-06-04
Posts: 183

Re: Wine broken - failed to initialize

Is this file exist in /usr/lib32/wine ? Are you sure that you re-install the correct package? This file is part of the installation, so it should be there after installation.

Offline

#3 2020-09-07 04:52:34

songohan98
Member
Registered: 2020-08-01
Posts: 7

Re: Wine broken - failed to initialize

zaxdan69 wrote:

Is this file exist in /usr/lib32/wine ? Are you sure that you re-install the correct package? This file is part of the installation, so it should be there after installation.

That is what I thought too but it is not there, so after i re installed it, when i run this command

[gohan@steiner ~]$ wine --version
wine-5.16

but if i run winecfg, this is what pops up

gohan@steiner ~]$ winecfg
wine: failed to initialize: /usr/lib32/wine/ntdll.dll.so: cannot open shared object file: No such file or directory

infact there are two files, ntdll.dll and ntdll.so but not with the dtt.so extension

[gohan@steiner ~]$ ls -d /usr/lib32/wine/ntdl*
/usr/lib32/wine/ntdll.dll  /usr/lib32/wine/ntdll.so

Thank You

Offline

#4 2020-09-07 06:02:37

zaxdan69
Member
Registered: 2016-06-04
Posts: 183

Re: Wine broken - failed to initialize

Because I have problems with some games in last wine versions, I don't have wine-5.16, I have the stable 5.0.2 version. So I cannot check if there are some changes on files in this folder, but I have only "ntdll.dll.so" file in /usr/lib32/wine. There is no ntdll.dll or ntdll.so there. My "ntdll.dll.so" file is 2.7MB. If your "ntdll.so" is the same size, maybe is the same file somehow renamed. You can try to rename it to "ntdll.dll.so".

Offline

#5 2020-09-07 06:17:42

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 11,800

Re: Wine broken - failed to initialize

pacman -F  /usr/lib32/wine/ntdll.so
usr/lib32/wine/ntdll.so ist in multilib/wine 5.16-1 enthalten
usr/lib32/wine/ntdll.so ist in multilib/wine-staging 5.16-1 enthalten

Did you run lutris as root? Which is a horrible idea but could explain if the files changed for some reason

type -a wine
pacman -Qkk wine

Last edited by V1del (2020-09-07 06:18:00)

Online

#6 2020-09-11 06:11:25

songohan98
Member
Registered: 2020-08-01
Posts: 7

Re: Wine broken - failed to initialize

V1del wrote:
pacman -F  /usr/lib32/wine/ntdll.so
usr/lib32/wine/ntdll.so ist in multilib/wine 5.16-1 enthalten
usr/lib32/wine/ntdll.so ist in multilib/wine-staging 5.16-1 enthalten

Did you run lutris as root? Which is a horrible idea but could explain if the files changed for some reason

type -a wine
pacman -Qkk wine

I tried that command, showed 0 modifications

Offline

#7 2020-09-11 06:12:56

songohan98
Member
Registered: 2020-08-01
Posts: 7

Re: Wine broken - failed to initialize

zaxdan69 wrote:

Because I have problems with some games in last wine versions, I don't have wine-5.16, I have the stable 5.0.2 version. So I cannot check if there are some changes on files in this folder, but I have only "ntdll.dll.so" file in /usr/lib32/wine. There is no ntdll.dll or ntdll.so there. My "ntdll.dll.so" file is 2.7MB. If your "ntdll.so" is the same size, maybe is the same file somehow renamed. You can try to rename it to "ntdll.dll.so".

Renaming it didnt solve it, however
Downgrading to 5.0.2 actually solved it.
Thank You

Offline

Board footer

Powered by FluxBB