> I uninstalled my wine, and installed a higher version of wine by
> compiling source. However when I run an exe executable (whose path is
> in $PATH), it doesn't work as it used to.
Как вы, очевидно, видели, следующее работает правильно
$ wine file.exe
, но следующее не работает
for a file in the current directory `
$ ./file.exe
for a file that is included your path
$ file.exe
Моя версия вина - это v1.8.3 из debian / jessie-backports, а
должен быть действителен как минимум до версии v1.6.2 (которая является значением по умолчанию в debian / jessie).
Вы должны сделать следующее:
$ sudo apt-get install wine-binfmt
$ sudo update-binfmts --import / usr / share / binfmts / wine
Теперь вы сможете чтобы выполнить двоичный файл, как показано выше,
, не вызывая его с помощью Wine.