https://bugs.winehq.org/show_bug.cgi?id=53529
--- Comment #2 from formigoni ruanformigoni@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... 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" "$@"