jgm/pandoc — Issue #426: Pandoc OSX installer installs 64-bit executables on a 32-bit machine.
Author: csetlow
Created: 2012-02-19 21:10:01+00:00
State: open

Download pandoc-1.9.1.1.dmg. Run it. Open Terminal. Run pandoc. Error follows:

-bash: /usr/local/bin/pandoc: Bad CPU type in executable

run file on executable:
$ file /usr/local/bin/pandoc
/usr/local/bin/pandoc: Mach-O 64-bit executable x86_64

The output should be more like, for example with python2.7:
$ file /usr/local/bin/python2.7
/usr/local/bin/python2.7: Mach-O universal binary with 2 architectures
/usr/local/bin/python2.7 (for architecture i386):	Mach-O executable i386
/usr/local/bin/python2.7 (for architecture x86_64):	Mach-O 64-bit executable x86_64