Page 1 of 1

WIne32 dependency libxml2:i386

Posted: Mon Jul 20, 2020 3:36 pm
by gabtech
I have installed wine on stretchdog64 but wine is refusing to run programs because wine32 is not installed. Trying to install wine32 produces an error that I need to install libxml2:i386. My problem is, where do I get libxml2:i386?

Re: WIne32 dependency libxml2:i386

Posted: Mon Jul 20, 2020 4:14 pm
by rockedge
StretchDog uses apt package manager? Then for 64-bit Debian or Ubuntu , or StretchDog use in a terminal

Code: Select all

apt-get install libxml2:i386

Re: WIne32 dependency libxml2:i386

Posted: Tue Jul 21, 2020 7:21 am
by fredx181
rockedge wrote: Mon Jul 20, 2020 4:14 pm StretchDog uses apt package manager? Then for 64-bit Debian or Ubuntu , or StretchDog use in a terminal

Code: Select all

apt-get install libxml2:i386
It may be needed first to add the architecture i386 and update the package lists, so then:

Code: Select all

dpkg --add-architecture i386
apt update
apt-get install libxml2:i386
Fred

Re: WIne32 dependency libxml2:i386

Posted: Tue Jul 21, 2020 12:14 pm
by gabtech
Hi fred,

I already done your suggestion and I get the errors in attachment.
wine.png
wine.png (53.66 KiB) Viewed 757 times

Re: WIne32 dependency libxml2:i386

Posted: Tue Jul 21, 2020 2:03 pm
by rockedge
there is always the way of installing a package that has it as a dependency like the Adobe reader...some where I read about a problem missing this same lib and solved it by installing a package that used it.

Re: WIne32 dependency libxml2:i386

Posted: Tue Jul 21, 2020 3:24 pm
by gabtech
Hi rockedge,

I tried installing Adobe Reader, but its not in their repo. Any other app I can install?

Re: WIne32 dependency libxml2:i386

Posted: Tue Jul 21, 2020 5:44 pm
by fredx181
Hi gabtech, sorry, I forgot that the pinned entry of libxml2 in /etc/apt/preferences prevents installing the i386 version, so it's wrong and it should be disabled by moving it to /etc/apt/preferences.bak, see in below code.
So this should do it to install wine32:

Code: Select all

dpkg --add-architecture i386
apt-get update
mv -f /etc/apt/preferences /etc/apt/preferences.bak # must do this, otherwise errors
apt install wine32
Fred

Re: WIne32 dependency libxml2:i386

Posted: Sun Jul 26, 2020 4:14 pm
by gabtech
Hi fred,
Thanks for the solution. Wine now works just fine.