Wheezy 64 bit compile 1.5.22 wine: Bad EXE format for

Questions about Wine on Linux
Locked
vek.m1234
Newbie
Newbie
Posts: 3
Joined: Fri Mar 07, 2014 6:16 am

Wheezy 64 bit compile 1.5.22 wine: Bad EXE format for

Post by vek.m1234 »

I downloaded the src from sourcefore and did:
./configure --prefix=/usr/local/wine.1.5.22 --enable-win64 --with-x

configure: OpenCL development files not found, OpenCL won't be supported.
configure: libcapi20 development files not found, ISDN won't be supported.
configure: libopenal development files not found (or too old), OpenAL won't be supported.
configure: libldap (OpenLDAP) development files not found, LDAP won't be supported.

make
make install

then i had to symlink wine -> wine64 and wine-preloader -> wine64-preloader

and now i get
deathstar> wine64 putty.exe
wine: Bad EXE format for Z:\root\putty.exe.
deathstar> file putty.exe
putty.exe: PE32 executable (GUI) Intel 80386, for MS Windows
deathstar> wine64 WindowsServer2003-KB942288-v4-x64.exe
wine: Bad EXE format for Z:\root\WindowsServer2003-KB942288-v4-x64.exe.
deathstar> file WindowsServer2003-KB942288-v4-x64.exe
WindowsServer2003-KB942288-v4-x64.exe: PE32 executable (GUI) Intel 80386, for MS Windows, InstallShield self-extracting archive

HELP! What do i do?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wheezy 64 bit compile 1.5.22 wine: Bad EXE format for

Post by dimesio »

One thing you did is compile only 64 bit Wine. You also need to build 32 bit Wine. http://wiki.winehq.org/Wine64 (Follow the instructions under "Building a shared WoW64 setup (most likely what you want)")

The other thing I see is that you seem to have placed the exes you are trying to run in /root. Normally users would not have read/write access to that folder, and you should not be running Wine as root.
Davod
Newbie
Newbie
Posts: 1
Joined: Fri Mar 07, 2014 7:44 pm

Re: Wheezy 64 bit compile 1.5.22 wine: Bad EXE format for

Post by Davod »

What distro you use? What arch is (i386 or x86_64 multiarch)? Do you tried to install the latest version (both amd64 and i386 archs form the repos)?
Locked