idb icon indicating copy to clipboard operation
idb copied to clipboard

idb-companion installation fails on Mac M1

Open jeffreyabarrios opened this issue 5 years ago • 51 comments

Description

I'm working on a Mac Mini M1, already installed fb-idb, but when trying to brew install idb-companion it fails all the time with the following error:

Screen Shot 2021-01-26 at 9 41 16 PM

Reproduction

brew install idb-companion / brew reinstall --build-from-source idb-companion

Solution

[OPTIONAL: Do you know what needs to be done to address this issue? Ideally, provide a pull request which fixes this issue.]

Additional Information

  • idb revision: [FILL THIS OUT]

jeffreyabarrios avatar Jan 27 '21 03:01 jeffreyabarrios

Same error on my Mac M1 neither.

ericwu021 avatar Jan 30 '21 07:01 ericwu021

I also faced the same error.

kot10n5tn avatar Feb 03 '21 07:02 kot10n5tn

yup

RnbWd avatar Feb 08 '21 07:02 RnbWd

Same here

renatobentorocha avatar Feb 12 '21 20:02 renatobentorocha

same

lander854 avatar Feb 19 '21 15:02 lander854

same

kumarpatel avatar Feb 19 '21 19:02 kumarpatel

Any way to fix this issue?

BrunoVillanova avatar Feb 22 '21 22:02 BrunoVillanova

same here

lucasapereira avatar Mar 01 '21 13:03 lucasapereira

I managed to install idb_companion on a M1 Mac by installing x86_64 version of homebrew first and then using that to install idb_companion.

arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
arch -x86_64 /usr/local/bin/brew tap Facebook/fb
arch -x86_64 /usr/local/bin/brew install idb-companion

pwszebor avatar Mar 02 '21 10:03 pwszebor

@pwszebor Thanks !

lumyjuwon avatar Mar 16 '21 08:03 lumyjuwon

I managed to install idb_companion on a M1 Mac by installing x86_64 version of homebrew first and then using that to install idb_companion.

arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
arch -x86_64 /usr/local/bin/brew tap Facebook/fb
arch -x86_64 /usr/local/bin/brew install idb-companion

Is this really a good solution? Is it possible to have both the arm version of brew and x86 version at the same time and if it is what possible side effects could that have?

3DJakob avatar Mar 18 '21 23:03 3DJakob

I managed to install idb_companion on a M1 Mac by installing x86_64 version of homebrew first and then using that to install idb_companion.

arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
arch -x86_64 /usr/local/bin/brew tap Facebook/fb
arch -x86_64 /usr/local/bin/brew install idb-companion

Is this really a good solution? Is it possible to have both the arm version of brew and x86 version at the same time and if it is what possible side effects could that have?

Wondering the same thing, is it possible to run two versions of homebrew side by side without any issues?

lucadegasperi avatar Apr 01 '21 08:04 lucadegasperi

No issues so far for me. The arm64 version is still the default, "which brew" points at it, it's installed in /opt/homebrew as opposed to Intel version which is in /usr/local/Homebrew.

pwszebor avatar Apr 01 '21 08:04 pwszebor

I tried to install the x86_64 version of homebrew after I had the arm64 version already installed and the x86 version became the default one unlike what @pwszebor said. Guess I'll wait for an arm64 version of idb.

lucadegasperi avatar Apr 02 '21 14:04 lucadegasperi

same here

xiaohuanxiong3 avatar May 27 '21 10:05 xiaohuanxiong3

got rosetta homebrew setup, it just fails at a brew-cask step now because apparently that package is gone ... script is outdated ... should be brew cask install ...

Seanmclem avatar Jun 11 '21 01:06 Seanmclem

same here

hhhhjjj avatar Jun 16 '21 14:06 hhhhjjj

Same Here

tmirun avatar Jun 25 '21 18:06 tmirun

Same Here !

andreluisjunqueira avatar Jul 01 '21 20:07 andreluisjunqueira

Any updates on this?

rikur avatar Jul 18 '21 13:07 rikur