Skip to content

Instantly share code, notes, and snippets.

@klauer
Last active March 3, 2016 18:12
Show Gist options
  • Save klauer/f5cde739714d83be79ae to your computer and use it in GitHub Desktop.
Save klauer/f5cde739714d83be79ae to your computer and use it in GitHub Desktop.
debian 7 linuxbrew

Frustrating message when installing neovim on debian 7:

libstdc++.so.6: cannot open shared object file: No such file or directory

May or may not require:

export HOMEBREW_BUILD_FROM_SOURCE=1

Install gcc in linuxbrew with glibc

$ brew install -v gcc --with-glibc

If you run into this:

  ==> Downloading http://ftpmirror.gnu.org/gcc/gcc-5.3.0/gcc-5.3.0.tar.bz2
  Already downloaded: /home/klauer/.cache/Homebrew/gcc-5.3.0.tar.bz2
  /home/klauer/.linuxbrew/Library/Formula/gcc.rb:114:in `mkdir'
  File exists

Comment out line 114 of gcc.rb, re-run

Then

$ brew reinstall patchelf
$ brew test patchelf

Finally, install what you want

$ brew tap neovim/neovim
$ brew install neovim 

# and other good stuff
$ brew install tmux git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment