Livebook-darwin-x64.dmg contains arm64 binary, fails on Intel Mac with "Bad CPU type in executable"

Hi folks,

Installing and launching livebook-0.19.2 on Intel Mac triggers the error below.

/Applications/Livebook.app/Contents/Resources/rel/vendor/livebook-0.19.2/otp/erts-16.1.1/
bin/erlexec: 

Bad CPU type in executable

A quick check on the executable returns below

file /Applications/Livebook.app/Contents/Resources/rel/vendor/livebook-0.19.2/otp/erts-16.1.1/
bin/erlexec

/Applications/Livebook.app/Contents/Resources/rel/vendor/livebook-0.19.2/otp/erts-16.1.1/bin/erlexec: 

Mach-O 64-bit executable arm64

Sound like you installed a wrong CPU architecture image. Try to download Mac (x64) image and check again.


These are the options available on the site and my previous message confirms the downloaded package name.

image

@josevalim, so sorry to bother you, but the download seems to be pointing to the wrong package.

1 Like

Thank you for taking the time to report it. I reproduced this and fixed it on main. There’s a new nightly you can try:

https://github.com/livebook-dev/livebook/releases/download/nightly/Livebook-darwin-x64.dmg

In the future please feel free to report bugs directly to livebook issue tracker!

3 Likes