Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

brew install fail,How to fix it? #65

Open
seekting opened this issue Sep 4, 2018 · 6 comments
Open

brew install fail,How to fix it? #65

seekting opened this issue Sep 4, 2018 · 6 comments

Comments

@seekting
Copy link

seekting commented Sep 4, 2018

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:in require'
/home/seekting/.linuxbrew/Library/Taps/homebrew/homebrew-core/Formula/glibc.rb:1:in load_formula' /home/seekting/.linuxbrew/Library/Homebrew/formulary.rb:21:in module_eval'
/home/seekting/.linuxbrew/Library/Homebrew/formulary.rb:21:in load_formula' /home/seekting/.linuxbrew/Library/Homebrew/formulary.rb:34:in load_formula_from_path'
/home/seekting/.linuxbrew/Library/Homebrew/formulary.rb:83:in load_file' /home/seekting/.linuxbrew/Library/Homebrew/formulary.rb:74:in klass'
/home/seekting/.linuxbrew/Library/Homebrew/formulary.rb:70:in get_formula' /home/seekting/.linuxbrew/Library/Homebrew/formulary.rb:207:in factory'
/home/seekting/.linuxbrew/Library/Homebrew/formula.rb:1186:in []' /home/seekting/.linuxbrew/Library/Homebrew/cmd/install.rb:200:in check_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:in install'
/home/seekting/.linuxbrew/Library/brew.rb:84:in `

'

@mirfansulaiman
Copy link

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
Copy link

Twyrch commented Dec 31, 2018

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

@Twyrch
Copy link

Twyrch commented Dec 31, 2018

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
Copy link

See Linuxbrew/brew#936 (comment)

brew update
brew vendor-install ruby
brew update

using brew from ubuntu 16.04

@AimableHonorable
Copy link

See Linuxbrew/brew#936 (comment)

brew update
brew vendor-install ruby
brew update

using brew from ubuntu 16.04

This worked for me

@PankajPrakashh
Copy link

brew update
brew vendor-install ruby
brew update

worked in ubuntu 19.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants