[Bug 53529] Use wine with custom ld-linux.so.2 32-bit preloader, without hacks

WineHQ Bugzilla wine-bugs at winehq.org
Mon Aug 8 17:38:05 CDT 2022


https://bugs.winehq.org/show_bug.cgi?id=53529

--- Comment #2 from formigoni <ruanformigoni at gmail.com> ---
(In reply to Alexandre Julliard from comment #1)
> Did you try the suggested hack? Does it work?

Thanks for the reply. I Managed to get it working with this guide:

- https://github.com/AppImage/AppImageKit/wiki/Bundling-Windows-applications

The other pre-packaged wine versions would segfault for me, so creating the
appimage was the way to go. To know all the information needed to do this, and
find these useful links, took me a few days of research and understanding libc,
library paths, preloader, etc. That is why I opened this issue, creating 32-bit
portable wine applications is really appealing, but for someone else that has
less knowledge it might not be viable or too time consuming.

So as stated in the guide, it would be nice to solve this issue just with this
snipped, as is for other programs:

wget -c
http://security.ubuntu.com/ubuntu/pool/main/g/glibc/libc6-i386_2.24-9ubuntu2.2_amd64.deb
dpkg -x ./libc6*.deb .

HERE="$(dirname "$(readlink -f "${0}")")"

WINEPREFIX="$HERE/wineprefix/" \
  "$HERE/lib32/ld-linux.so.2"  \
  --library-path "$HERE/lib32" \
  "$HERE/wine-stable/bin/wine" \
  "$WINEPREFIX/drive_c/Program Files/App/App.exe"  "$@"

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list