Announcement

Collapse
No announcement yet.

(CLI-MacOS) zsh: bad CPU type in executable: ./pt_mac

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • (CLI-MacOS) zsh: bad CPU type in executable: ./pt_mac

    Hello ,

    with newest download CLI for MacOS from 31. August i am getting error on my MacPro running BigSur


    PerformanceTest 2 % ./pt_cmd_line
    zsh: no such file or directory: ./pt_cmd_line
    rich@richs-Mac-Pro PerformanceTest 2 % ./pt_mac
    zsh: bad CPU type in executable: ./pt_mac


    thanks

  • #2
    What CPU is in this machine?

    Do you know if you have Rosetta 2 running on the machine?
    ( /usr/sbin/softwareupdate -install-rosetta -agree-to-license )

    Comment


    • #3
      the CPU is dual X5675 (Westmere) ,
      no , there is no rosetta or rosetta 2 running on the machine.

      Comment


      • #4
        We'll take a deeper look.

        In the meantime can you try the version in the Mac Store
        https://www.passmark.com/products/pt_mac/download.php

        Comment


        • #5
          It seems that the Command Line version was incorrectly compiled for M1/M2 processors only. We'll try to get a new build up shortly that should return support for x86_64 CPUs as well.



          Comment


          • #6
            We rebuilt the executable for PerformanceTest for Mac to be Universal Binary (i.e. supports both M-Processors and x86_64). Can you please redownload the zip archive and test to see if works on your system?

            Comment


            • #7
              thank you, now getting error

              Code:
              ./pt_mac: ./pt_mac: cannot execute binary file
              
              ​

              Comment


              • #8
                Did you set the executable flag?
                chmod a+x ./pt_mac​

                Comment

                Working...
                X