winex11.drv and missing dependencies

Questions about Wine on Linux
Locked
jojofx
Level 1
Level 1
Posts: 6
Joined: Thu Jul 07, 2016 9:30 am

winex11.drv and missing dependencies

Post by jojofx »

Hello community, after the last update of wine-staging it just stopped working giving me problem about some missing dependencies on winex11.drv
I installed winehq-staging following the steps on the winehq page for debian distro. (Debian jessie and wine-staging-1.9.13)

I first made a symbolic link for winex11.drv:

Code: Select all

cd /usr/lib/wine
sudo ln -s /opt/wine-staging/lib/wine/winex11.drv.so
cd /usr/lib/wine/fakedlls
sudo ln -s /opt/wine-staging/lib/wine/fakedlls/winex11.drv

Code: Select all

ldd /usr/lib/wine/winex11.drv.so

linux-gate.so.1 (0xf7721000)
	libXext.so.6 => not found
	libX11.so.6 => not found
	libwine.so.1 => not found
	libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xf7600000)
	libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xf7450000)
	/lib/ld-linux.so.2 (0xf7700000)

Code: Select all

locate libX11
/opt/genymobile/genymotion/libX11-xcb.so.1
/usr/lib/x86_64-linux-gnu/libX11-xcb.a
/usr/lib/x86_64-linux-gnu/libX11-xcb.so
/usr/lib/x86_64-linux-gnu/libX11-xcb.so.1
/usr/lib/x86_64-linux-gnu/libX11-xcb.so.1.0.0
/usr/lib/x86_64-linux-gnu/libX11.a
/usr/lib/x86_64-linux-gnu/libX11.so
/usr/lib/x86_64-linux-gnu/libX11.so.6
/usr/lib/x86_64-linux-gnu/libX11.so.6.3.0

Code: Select all

locate libwine
/home/jojo/.PlayOnLinux/wine/linux-amd64/1.9.13-staging/lib/libwine.so
/home/jojo/.PlayOnLinux/wine/linux-amd64/1.9.13-staging/lib/libwine.so.1
/home/jojo/.PlayOnLinux/wine/linux-amd64/1.9.13-staging/lib/libwine.so.1.0
/home/jojo/.PlayOnLinux/wine/linux-amd64/1.9.13-staging/lib/wine/libwinecrt0.a
/home/jojo/.PlayOnLinux/wine/linux-amd64/1.9.13-staging/lib/wine/libwined3d.def
/home/jojo/.PlayOnLinux/wine/linux-amd64/1.9.13-staging/lib64/libwine.so
/home/jojo/.PlayOnLinux/wine/linux-amd64/1.9.13-staging/lib64/libwine.so.1
/home/jojo/.PlayOnLinux/wine/linux-amd64/1.9.13-staging/lib64/libwine.so.1.0
/home/jojo/.PlayOnLinux/wine/linux-amd64/1.9.13-staging/lib64/wine/libwinecrt0.a
/home/jojo/.PlayOnLinux/wine/linux-amd64/1.9.13-staging/lib64/wine/libwined3d.def
/home/jojo/.PlayOnLinux/wine/linux-x86/1.9.13-staging/lib/libwine.so
/home/jojo/.PlayOnLinux/wine/linux-x86/1.9.13-staging/lib/libwine.so.1
/home/jojo/.PlayOnLinux/wine/linux-x86/1.9.13-staging/lib/libwine.so.1.0
/home/jojo/.PlayOnLinux/wine/linux-x86/1.9.13-staging/lib/wine/libwinecrt0.a
/home/jojo/.PlayOnLinux/wine/linux-x86/1.9.13-staging/lib/wine/libwined3d.def
/opt/wine-staging/lib/libwine.so
/opt/wine-staging/lib/libwine.so.1
/opt/wine-staging/lib/libwine.so.1.0
/opt/wine-staging/lib/wine/libwinecrt0.a
/opt/wine-staging/lib/wine/libwined3d.def
/opt/wine-staging/lib64/libwine.so
/opt/wine-staging/lib64/libwine.so.1
/opt/wine-staging/lib64/libwine.so.1.0
/opt/wine-staging/lib64/wine/libwinecrt0.a
/opt/wine-staging/lib64/wine/libwined3d.def

Code: Select all

locate libXext
/opt/genymobile/genymotion/libXext.so.6
/usr/lib/x86_64-linux-gnu/libXext.a
/usr/lib/x86_64-linux-gnu/libXext.so
/usr/lib/x86_64-linux-gnu/libXext.so.6
/usr/lib/x86_64-linux-gnu/libXext.so.6.4.0
I tried made symbolik links to those file in /lib/i386-linux-gnu/i686/ but it still doesn't work. Any ideas?
Thanks.
User avatar
dimesio
Moderator
Moderator
Posts: 13207
Joined: Tue Mar 25, 2008 10:30 pm

Re: winex11.drv and missing dependencies

Post by dimesio »

Looks like you only have 64 bit libX11 and libXext installed; you also need to install the 32 bit versions.
jojofx
Level 1
Level 1
Posts: 6
Joined: Thu Jul 07, 2016 9:30 am

Re: winex11.drv and missing dependencies

Post by jojofx »

dimesio wrote:Looks like you only have 64 bit libX11 and libXext installed; you also need to install the 32 bit versions.
Thanks for reply. I got both version installed.
Changing the installation prefix would fix the problem? I mean installing it in /usr/bin instead of /opt/.
User avatar
dimesio
Moderator
Moderator
Posts: 13207
Joined: Tue Mar 25, 2008 10:30 pm

Re: winex11.drv and missing dependencies

Post by dimesio »

The WineHQ packages should work from /opt/wine-staging if you followed the instructions on https://wiki.winehq.org/Debian and installed the winehq-staging package, which is a meta package that pulls in all the other necessary packages and creates the symlinks needed for everything to work just by using the wine command.

If you didn't follow those instructions, and instead installed the wine-staging package, then you have to invoke wine using the full path.
jojofx
Level 1
Level 1
Posts: 6
Joined: Thu Jul 07, 2016 9:30 am

Re: winex11.drv and missing dependencies

Post by jojofx »

dimesio wrote:The WineHQ packages should work from /opt/wine-staging if you followed the instructions on https://wiki.winehq.org/Debian and installed the winehq-staging package, which is a meta package that pulls in all the other necessary packages and creates the symlinks needed for everything to work just by using the wine command.

If you didn't follow those instructions, and instead installed the wine-staging package, then you have to invoke wine using the full path.
Yup i did follow instructions step by step and installed winehq-staging. I'll try to purge everything (symlinks i created included) and do a clean installation again.
I'll let you know if this fix problem.

Can you suggest me every other package (except all the wine applications) i should remove before doing a clean installation? Thanks.
jojofx
Level 1
Level 1
Posts: 6
Joined: Thu Jul 07, 2016 9:30 am

Re: winex11.drv and missing dependencies

Post by jojofx »

OK i fixed the problem with

Code: Select all

sudo apt-get install --reinstall
on all i386 dependecies because for some reason they were corrupted and i couldn't purge packages like libx11 or it have would erase a lot of things on my system. (A clean install of winehq-staging didn't was enough)
I had to --reinstall a lot of dependencies for the libgtk3 as well for make it kinda work.

Thanks for your support. Greetings.
Locked