0

I'm trying to test my installation for Pickit 2 on my Mac for the first time and when I put in: pk2cmd -?v I get:

-bash: /usr/local/bin/pk2cmd: cannot execute binary file

How do I resolve this problem?

Hennes
  • 65,804
  • 7
  • 115
  • 169

1 Answers1

1

You have a binary executable file pk2cmd for a different architecture than Mac OS X. This system uses executables in the format Mach-O.

You can check the format of your executable using this command:

file /usr/local/bin/pk2cmd

See also this question: How to solve: -bash: : cannot execute binary file.