[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] tar command gives error bad CPU type in executable
From: |
Chuck Swiger |
Subject: |
Re: [Bug-tar] tar command gives error bad CPU type in executable |
Date: |
Tue, 28 Aug 2012 10:32:48 -0700 |
On Aug 28, 2012, at 6:26 AM, Gautam Sai Krishna wrote:
> I recently upgraded too mountain lion , and i am not able to unpack my tar
> files through terminal
>
> when i am using any command related to tar it is giving me error
>
> example $ tar
>
> bash: /usr/bin/tar: Bad CPU type in executable
What does 'file /usr/bin/tar' say?
On an older version of MacOS X, it should say something like:
% file /usr/bin/tar
/usr/bin/tar: Mach-O universal binary with 3 architectures
/usr/bin/tar (for architecture x86_64): Mach-O 64-bit executable x86_64
/usr/bin/tar (for architecture i386): Mach-O executable i386
/usr/bin/tar (for architecture ppc7400): Mach-O executable ppc
...but a 10.8 binary would not include the ppc flavor.
Regards,
--
-Chuck