uber / nanoscope

An extremely accurate Android method tracing tool.
Apache License 2.0
1.25k stars 68 forks source link

brew install fail,How to fix it? #65

Open seekting opened 6 years ago

seekting commented 6 years ago

seekting@seekting:~$ brew install nanoscope Error: cannot load such file -- os/linux/glibc Please report this bug: https://github.com/Linuxbrew/linuxbrew/blob/master/share/doc/homebrew/Troubleshooting.md#troubleshooting /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require' /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:inrequire' /home/seekting/.linuxbrew/Library/Taps/homebrew/homebrew-core/Formula/glibc.rb:1:in load_formula' /home/seekting/.linuxbrew/Library/Homebrew/formulary.rb:21:inmodule_eval' /home/seekting/.linuxbrew/Library/Homebrew/formulary.rb:21:in load_formula' /home/seekting/.linuxbrew/Library/Homebrew/formulary.rb:34:inload_formula_from_path' /home/seekting/.linuxbrew/Library/Homebrew/formulary.rb:83:in load_file' /home/seekting/.linuxbrew/Library/Homebrew/formulary.rb:74:inklass' /home/seekting/.linuxbrew/Library/Homebrew/formulary.rb:70:in get_formula' /home/seekting/.linuxbrew/Library/Homebrew/formulary.rb:207:infactory' /home/seekting/.linuxbrew/Library/Homebrew/formula.rb:1186:in []' /home/seekting/.linuxbrew/Library/Homebrew/cmd/install.rb:200:incheck_ld_so_symlink' /home/seekting/.linuxbrew/Library/Homebrew/cmd/install.rb:213:in perform_preinstall_checks' /home/seekting/.linuxbrew/Library/Homebrew/cmd/install.rb:91:ininstall' /home/seekting/.linuxbrew/Library/brew.rb:84:in `

'

mirfansulaiman commented 5 years ago

Hi, Are you using debian/ubuntu? You need install this first Debian or Ubuntu sudo apt-get install build-essential curl file git Fedora sudo dnf groupinstall 'Development Tools' && sudo dnf install curl file git CentOS or Red Hat sudo yum groupinstall 'Development Tools' && sudo yum install curl file git

Twyrch commented 5 years ago

I have the same issue and I've already installed the build-essential and the problem remains.

Twyrch commented 5 years ago

When I run Brew Doctor, this is the output but I don't know where I should go to change the entries. brew doctor

hugobuddel commented 5 years ago

See https://github.com/Linuxbrew/brew/issues/936#issuecomment-464228560

brew update
brew vendor-install ruby
brew update

using brew from ubuntu 16.04

AimableHonorable commented 4 years ago

See Linuxbrew/brew#936 (comment)

brew update
brew vendor-install ruby
brew update

using brew from ubuntu 16.04

This worked for me

PankajPrakashh commented 4 years ago
brew update
brew vendor-install ruby
brew update

worked in ubuntu 19.10