-
-
Notifications
You must be signed in to change notification settings - Fork 563
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wine inside an AppImage: can I enable 32-bit architecture for 64-bit apps? #361
Comments
This is tough. You basically would have to ship your own ld-linux.so. See That being said,
Looks like they found a way to do without 32-bit libs (don't know how): You could also check what they are doing: |
Skype and Steam would also benefit from this. |
I've tried including a 32-bit ld-linux.so inside of the AppImage. It's not affecting the ability to run 32-bit ELF files in the AppImage. I'm wondering if there's something else that needs to be configured on the system to allow this to work. On Ubuntu, you basically just need to install the package Thank you for the links. TeamViewer isn't using AppImage so I can't inspect how they're doing it (it doesn't mount a directory in Packaging Wine software with AppImages could make Linux so much more viable for people looking to switch. Their favorite Windows program can be downloaded and launched in a single click... even more simple than what happens on Windows. I hope we can figure this out. |
I hope so to. I've been trying to use the scripts that are in the Portable Linux Games with no avail. I never could figure out the path to the user (I don't think it's talking about the .wine directory in the home folder (and another user asked that question that was never answered from a year ago), which was the only thing showing up in searches, but I also it was a portable Windows app as well. Well, almost portable, it had 3 files that needed to be in the same directory. So never could figure that out. I have several programs that I know work in Wine 1.6, that if I could get working in the Appimage that would be great as not all computers that I have Linux on, I want to have Wine running on as well. |
Despite its (confusing) name, Check http://joeyh.name/blog/entry/completely_linux_distribution-independent_packaging/ for more information.
Apparently they manage to run Wine without 32-bit libs. If we understand how this works, we can do it, too. Putting all of this into an AppImage in the end shouldn't be a problem. Remember an AppImage is just a self-mounting filesystem that executes whatever payload you put into it.
Which particular part of https://github.com/RazZziel/PortableLinuxGames/wiki/Creating-appimages-from-windows-applications are you having problems with? Maybe @RazZziel can help. |
It's path to WINE's user directory, that I can't find out what it is. The only thing that Google comes up with is the .wine directory in Home, which it doesn't sound like that's the right one. At least based on the example that was given in that repository. I'm not the only one that has that question. That is actually the last issue posted in that very repository that hasn't been answered (at least not publicly), for close to a year now. A year in August. Until I know what to do there, I don't know if everything else that I'm doing is correctly. It visually looks correct (as far as what the scripts generate), but I can't be sure. I know it doesn't work, but I don't know if it's because I don't know that one step or if it's that step plus another one (or more) that I'm missing. The only other thing that I would have a question is that one my my Windows programs is a self enclosed program itself. If you wanted the help file, you have to have a second file in the same directory, but otherwise it is a single EXE file as well. I didn't see anything to handle those. It all seems to be ones that still do the more "traditional" install. I had contemplated of just having an AppImage of WINE itself and then chmod that and try to install the programs that I wanted from that point, but I didn't have much luck with that either. I'm sure there is something that I'm missing and probably rather simple. |
WINE's |
@wwderw is your Windows application available for download? |
That's what I was figuring based on the example, but that example only had something like /path/to/Wine user/directory and I couldn't find anything to give me an idea of where to look. It all seemed to be about the .wine directory.
Not anymore as far as I'm aware of. It's a 17 yr old program from the good ole 9x days. |
Please check (and contribute to) https://github.com/AppImage/AppImageKit/wiki/Bundling-Windows-applications. It covers the 32-bit problem in detail. Particularly, with other programs it is usually possible to manually load the 32-bit
However, with WINE, this does not work. My guess is that WINE launches WINE developer Alexandre Julliard answered on wine-devel:
🚧 This needs to be done. We would highly welcome contributions. In the meantime, we may get around this limitation by placing a symlink to our custom Please see https://github.com/AppImage/AppImageKit/wiki/Bundling-Windows-applications. The information on this page reflects ongoing research. We would appreciate your experimentation and contributions. Feel free to edit the page or reach out to us in |
|
Yes, it now can be done. @Hackerl has just created the missing piece at Hackerl/Wine_Appimage#11. Contact me if you need more information. |
Wine requires 32-bit libs in order to run, even if I'm trying to run a 64-bit Windows application. I've gotten my Wine application working perfectly in an AppImage, except it needs libc6:i386 to be installed on the local machine (which kind of defeats the purpose of having one app that "just works").
I'm wondering if I can bundle libc6:i386 into the appimage itself. So far I've had no such luck. Copying in the files from the package into the appimage still leaves me with:
(^ Classic error message when architecture of the file isn't supported)
If anyone has ideas I'd appreciate it. Been stuck on this for hours.
The text was updated successfully, but these errors were encountered: