Previous Thread
Next Thread
Print Thread
Joined: May 1999
Posts: 586
Likes: 1
Carbon Offline OP
Senior Member
OP Offline
Senior Member
Joined: May 1999
Posts: 586
Likes: 1
So, this is a new one: when trying to start my freshly compiled MAME 0.216 using Xcode 11.2.1 under Catalina, I'm getting the following error:

Code
zsh: exec format error: ./MAME


I did not observe anything special during compilation (but I did not pay special attention either).

I had no problems using the previous version on macOS 10.15 (using the same version of Xcode, maybe 0.1 version earlier).

Joined: Mar 2001
Posts: 16,910
Likes: 56
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,910
Likes: 56
What does 'file MAME' say?

Joined: May 1999
Posts: 586
Likes: 1
Carbon Offline OP
Senior Member
OP Offline
Senior Member
Joined: May 1999
Posts: 586
Likes: 1
data

Is it missing the executable bit?

Edit: doesn't seem so:

-rwxr-xr-x@ 1 charel staff 304706984 Nov 27 12:36 MAME

Last edited by Carbon; 11/27/19 10:43 PM.
Joined: Feb 2004
Posts: 2,366
Likes: 81
Very Senior Member
Offline
Very Senior Member
Joined: Feb 2004
Posts: 2,366
Likes: 81
You're not trying to run a 32-bit build, are you? Catalina completely removes support for 32-bit executables.

Joined: Mar 2001
Posts: 16,910
Likes: 56
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,910
Likes: 56
Again, what does 'file MAME' say? It should be like this:

Code
mame64: Mach-O 64-bit executable x86_64

Joined: May 1999
Posts: 586
Likes: 1
Carbon Offline OP
Senior Member
OP Offline
Senior Member
Joined: May 1999
Posts: 586
Likes: 1
It says "data" (see above). I checked with Go64, it's not a 64 bit app.

Joined: May 1999
Posts: 586
Likes: 1
Carbon Offline OP
Senior Member
OP Offline
Senior Member
Joined: May 1999
Posts: 586
Likes: 1
I tried another compilation, this time using the internal SSD and not the external Thunderbolt disk. MAME works fine now.

I noticed the file was 56 byte shorter and now showed the version number in the macOS Get Info dialog, which the previous one did not.

Joined: Mar 2001
Posts: 16,910
Likes: 56
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,910
Likes: 56
Hmm. Disk location shouldn't matter, but at least it's resolved smile

Joined: May 1999
Posts: 586
Likes: 1
Carbon Offline OP
Senior Member
OP Offline
Senior Member
Joined: May 1999
Posts: 586
Likes: 1
Exactly my thoughts smile


Moderated by  R. Belmont 

Link Copied to Clipboard
Who's Online Now
3 members (remax, r09, Cpt. Pugwash), 22 guests, and 0 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,085
Posts119,077
Members5,014
Most Online890
Jan 17th, 2020
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com