.exe files no longer run w/ wine-devel 1.8 ubuntu packages

Questions about Wine on Linux
Locked
forest
Level 1
Level 1
Posts: 5
Joined: Mon Sep 10, 2012 11:44 pm

.exe files no longer run w/ wine-devel 1.8 ubuntu packages

Post by forest »

When I was using the wine 1.7 packages from the ubuntu-wine PPA, I could run .exe files directly instead of having to run "wine programname.exe". This is important because it allows me to apply different AppArmor profiles to each Windows program.

After upgrading to the wine 1.8 packages from the new official wine-builds PPA, this functionality is broken. How can I fix it?
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: .exe files no longer run w/ wine-devel 1.8 ubuntu packag

Post by dimesio »

The Arch wiki has instructions on how to do it on Arch. I don't know whether that will work on Ubuntu, but it's a place to start. https://wiki.archlinux.org/index.php/Wine (scroll down to "Using Wine as an interpreter for Win16/Win32 binaries").
forest
Level 1
Level 1
Posts: 5
Joined: Mon Sep 10, 2012 11:44 pm

Re: .exe files no longer run w/ wine-devel 1.8 ubuntu packag

Post by forest »

Thanks, but the approach on the arch wiki doesn't work for me. Setting up /etc/binfmt.d/wine.conf and then running a .exe file just produces an error message:

/opt/wine-devel/bin/wine: error while loading shared libraries: libwine.so.1: cannot open shared object file: No such file or directory

I wish I knew where to report bugs in the official wine packages.
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: .exe files no longer run w/ wine-devel 1.8 ubuntu packag

Post by dimesio »

You report bugs in the WineHQ packages in our bugzilla, but this isn't a bug. Binfmt_misc isn't part of Wine; it's a kernel module. Registering Wine with it was a feature Ubuntu added to its packages, but it's not something vanilla Wine does.

You could file an enhancement request in bugzilla asking for it to be added to the WineHQ packages.
forest
Level 1
Level 1
Posts: 5
Joined: Mon Sep 10, 2012 11:44 pm

Re: .exe files no longer run w/ wine-devel 1.8 ubuntu packag

Post by forest »

Ubuntu packaging isn't part of wine, either. It's still important for usability, and if I were the one maintaining it, I'd want to know about a problem like this. (Especially considering that it's a regression for anyone coming from the packages that were recommended by winehq.org until recently.)

Thanks for the info.
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: .exe files no longer run w/ wine-devel 1.8 ubuntu packag

Post by dimesio »

So file that enhancement bug.
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: .exe files no longer run w/ wine-devel 1.8 ubuntu packag

Post by dimesio »

Locked