Skip to content
This repository has been archived by the owner on May 23, 2020. It is now read-only.

failed installation on Redhat 7 #59

Closed
ghost opened this issue May 19, 2019 · 5 comments
Closed

failed installation on Redhat 7 #59

ghost opened this issue May 19, 2019 · 5 comments

Comments

@ghost
Copy link

ghost commented May 19, 2019

Hi All, yesterday I managed to install Linuxbrew on Redhat 7.6/64 in home folder. There was an issues with OpenCV though (unable to compile pulseaudio for dependency). Today I tried to install Linuxbrew into the default folder "/home/linuxbrew". This is the output (note, g++ 4.8.5 is installed):

sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
[sudo] Enter password for albert to install Ruby: 
==> Installing Ruby to /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 26.9M  100 26.9M    0     0  3489k      0  0:00:07  0:00:07 --:--:-- 4305k
==> Installing successful
==> /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/current/bin/ruby
ruby 2.3.7p456 (2018-03-28 revision 63024) [x86_64-linux]
==> Add Ruby to your PATH by running:
PATH=/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/current/bin:$PATH
==> This script will install:
/home/linuxbrew/.linuxbrew/bin/brew
/home/linuxbrew/.linuxbrew/share/doc/homebrew
/home/linuxbrew/.linuxbrew/share/man/man1/brew.1
/home/linuxbrew/.linuxbrew/share/zsh/site-functions/_brew
/home/linuxbrew/.linuxbrew/etc/bash_completion.d/brew
/home/albert/.cache/Homebrew/
/home/linuxbrew/.linuxbrew/Homebrew
==> The following new directories will be created:
/home/linuxbrew/.linuxbrew/bin
/home/linuxbrew/.linuxbrew/etc
/home/linuxbrew/.linuxbrew/include
/home/linuxbrew/.linuxbrew/lib
/home/linuxbrew/.linuxbrew/sbin
/home/linuxbrew/.linuxbrew/share
/home/linuxbrew/.linuxbrew/var
/home/linuxbrew/.linuxbrew/opt
/home/linuxbrew/.linuxbrew/share/zsh
/home/linuxbrew/.linuxbrew/share/zsh/site-functions
/home/linuxbrew/.linuxbrew/Cellar
/home/linuxbrew/.linuxbrew/Caskroom
/home/linuxbrew/.linuxbrew/Frameworks

Press RETURN to continue or any other key to abort
/bin/mkdir
==> /usr/bin/sudo /bin/mkdir -p /home/linuxbrew/.linuxbrew/bin /home/linuxbrew/.linuxbrew/etc /home/linuxbrew/.linuxbrew/include /home/linuxbrew/.linuxbrew/lib /home/linuxbrew/.linuxbrew/sbin /home/linuxbrew/.linuxbrew/share /home/linuxbrew/.linuxbrew/var /home/linuxbrew/.linuxbrew/opt /home/linuxbrew/.linuxbrew/share/zsh /home/linuxbrew/.linuxbrew/share/zsh/site-functions /home/linuxbrew/.linuxbrew/Cellar /home/linuxbrew/.linuxbrew/Caskroom /home/linuxbrew/.linuxbrew/Frameworks
==> /usr/bin/sudo /bin/chmod g+rwx /home/linuxbrew/.linuxbrew/bin /home/linuxbrew/.linuxbrew/etc /home/linuxbrew/.linuxbrew/include /home/linuxbrew/.linuxbrew/lib /home/linuxbrew/.linuxbrew/sbin /home/linuxbrew/.linuxbrew/share /home/linuxbrew/.linuxbrew/var /home/linuxbrew/.linuxbrew/opt /home/linuxbrew/.linuxbrew/share/zsh /home/linuxbrew/.linuxbrew/share/zsh/site-functions /home/linuxbrew/.linuxbrew/Cellar /home/linuxbrew/.linuxbrew/Caskroom /home/linuxbrew/.linuxbrew/Frameworks
==> /usr/bin/sudo /bin/chmod 755 /home/linuxbrew/.linuxbrew/share/zsh /home/linuxbrew/.linuxbrew/share/zsh/site-functions
==> /usr/bin/sudo /bin/chown albert /home/linuxbrew/.linuxbrew/bin /home/linuxbrew/.linuxbrew/etc /home/linuxbrew/.linuxbrew/include /home/linuxbrew/.linuxbrew/lib /home/linuxbrew/.linuxbrew/sbin /home/linuxbrew/.linuxbrew/share /home/linuxbrew/.linuxbrew/var /home/linuxbrew/.linuxbrew/opt /home/linuxbrew/.linuxbrew/share/zsh /home/linuxbrew/.linuxbrew/share/zsh/site-functions /home/linuxbrew/.linuxbrew/Cellar /home/linuxbrew/.linuxbrew/Caskroom /home/linuxbrew/.linuxbrew/Frameworks
==> /usr/bin/sudo /bin/chgrp albert /home/linuxbrew/.linuxbrew/bin /home/linuxbrew/.linuxbrew/etc /home/linuxbrew/.linuxbrew/include /home/linuxbrew/.linuxbrew/lib /home/linuxbrew/.linuxbrew/sbin /home/linuxbrew/.linuxbrew/share /home/linuxbrew/.linuxbrew/var /home/linuxbrew/.linuxbrew/opt /home/linuxbrew/.linuxbrew/share/zsh /home/linuxbrew/.linuxbrew/share/zsh/site-functions /home/linuxbrew/.linuxbrew/Cellar /home/linuxbrew/.linuxbrew/Caskroom /home/linuxbrew/.linuxbrew/Frameworks
==> /usr/bin/sudo /bin/mkdir -p /home/albert/.cache/Homebrew
==> /usr/bin/sudo /bin/chmod g+rwx /home/albert/.cache/Homebrew
==> /usr/bin/sudo /bin/chown albert /home/albert/.cache/Homebrew
==> /usr/bin/sudo /bin/chgrp albert /home/albert/.cache/Homebrew
==> Downloading and installing Linuxbrew...
remote: Enumerating objects: 29, done.
remote: Counting objects: 100% (29/29), done.
remote: Compressing objects: 100% (25/25), done.
remote: Total 123632 (delta 6), reused 13 (delta 4), pack-reused 123603
Receiving objects: 100% (123632/123632), 29.17 MiB | 4.09 MiB/s, done.
Resolving deltas: 100% (90591/90591), done.
From https://github.com/Homebrew/brew
 * [new branch]      master     -> origin/master
 * [new tag]         0.1        -> 0.1
 * [new tag]         0.2        -> 0.2
 * [new tag]         0.3        -> 0.3
 * [new tag]         0.4        -> 0.4
 * [new tag]         0.5        -> 0.5
 * [new tag]         0.6        -> 0.6
 * [new tag]         0.7        -> 0.7
 * [new tag]         0.7.1      -> 0.7.1
 * [new tag]         0.8        -> 0.8
 * [new tag]         0.8.1      -> 0.8.1
 * [new tag]         0.9        -> 0.9
 * [new tag]         0.9.1      -> 0.9.1
 * [new tag]         0.9.2      -> 0.9.2
 * [new tag]         0.9.3      -> 0.9.3
 * [new tag]         0.9.4      -> 0.9.4
 * [new tag]         0.9.5      -> 0.9.5
 * [new tag]         0.9.8      -> 0.9.8
 * [new tag]         0.9.9      -> 0.9.9
 * [new tag]         1.0.0      -> 1.0.0
 * [new tag]         1.0.1      -> 1.0.1
 * [new tag]         1.0.2      -> 1.0.2
 * [new tag]         1.0.3      -> 1.0.3
 * [new tag]         1.0.4      -> 1.0.4
 * [new tag]         1.0.5      -> 1.0.5
 * [new tag]         1.0.6      -> 1.0.6
 * [new tag]         1.0.7      -> 1.0.7
 * [new tag]         1.0.8      -> 1.0.8
 * [new tag]         1.0.9      -> 1.0.9
 * [new tag]         1.1.0      -> 1.1.0
 * [new tag]         1.1.1      -> 1.1.1
 * [new tag]         1.1.10     -> 1.1.10
 * [new tag]         1.1.11     -> 1.1.11
 * [new tag]         1.1.12     -> 1.1.12
 * [new tag]         1.1.13     -> 1.1.13
 * [new tag]         1.1.2      -> 1.1.2
 * [new tag]         1.1.3      -> 1.1.3
 * [new tag]         1.1.4      -> 1.1.4
 * [new tag]         1.1.5      -> 1.1.5
 * [new tag]         1.1.6      -> 1.1.6
 * [new tag]         1.1.7      -> 1.1.7
 * [new tag]         1.1.8      -> 1.1.8
 * [new tag]         1.1.9      -> 1.1.9
 * [new tag]         1.2.0      -> 1.2.0
 * [new tag]         1.2.1      -> 1.2.1
 * [new tag]         1.2.2      -> 1.2.2
 * [new tag]         1.2.3      -> 1.2.3
 * [new tag]         1.2.4      -> 1.2.4
 * [new tag]         1.2.5      -> 1.2.5
 * [new tag]         1.2.6      -> 1.2.6
 * [new tag]         1.3.0      -> 1.3.0
 * [new tag]         1.3.1      -> 1.3.1
 * [new tag]         1.3.2      -> 1.3.2
 * [new tag]         1.3.3      -> 1.3.3
 * [new tag]         1.3.4      -> 1.3.4
 * [new tag]         1.3.5      -> 1.3.5
 * [new tag]         1.3.6      -> 1.3.6
 * [new tag]         1.3.7      -> 1.3.7
 * [new tag]         1.3.8      -> 1.3.8
 * [new tag]         1.3.9      -> 1.3.9
 * [new tag]         1.4.0      -> 1.4.0
 * [new tag]         1.4.1      -> 1.4.1
 * [new tag]         1.4.2      -> 1.4.2
 * [new tag]         1.4.3      -> 1.4.3
 * [new tag]         1.5.0      -> 1.5.0
 * [new tag]         1.5.1      -> 1.5.1
 * [new tag]         1.5.10     -> 1.5.10
 * [new tag]         1.5.11     -> 1.5.11
 * [new tag]         1.5.12     -> 1.5.12
 * [new tag]         1.5.13     -> 1.5.13
 * [new tag]         1.5.14     -> 1.5.14
 * [new tag]         1.5.2      -> 1.5.2
 * [new tag]         1.5.3      -> 1.5.3
 * [new tag]         1.5.4      -> 1.5.4
 * [new tag]         1.5.5      -> 1.5.5
 * [new tag]         1.5.6      -> 1.5.6
 * [new tag]         1.5.7      -> 1.5.7
 * [new tag]         1.5.8      -> 1.5.8
 * [new tag]         1.5.9      -> 1.5.9
 * [new tag]         1.6.0      -> 1.6.0
 * [new tag]         1.6.1      -> 1.6.1
 * [new tag]         1.6.10     -> 1.6.10
 * [new tag]         1.6.11     -> 1.6.11
 * [new tag]         1.6.12     -> 1.6.12
 * [new tag]         1.6.13     -> 1.6.13
 * [new tag]         1.6.14     -> 1.6.14
 * [new tag]         1.6.15     -> 1.6.15
 * [new tag]         1.6.16     -> 1.6.16
 * [new tag]         1.6.17     -> 1.6.17
 * [new tag]         1.6.2      -> 1.6.2
 * [new tag]         1.6.3      -> 1.6.3
 * [new tag]         1.6.4      -> 1.6.4
 * [new tag]         1.6.5      -> 1.6.5
 * [new tag]         1.6.6      -> 1.6.6
 * [new tag]         1.6.7      -> 1.6.7
 * [new tag]         1.6.8      -> 1.6.8
 * [new tag]         1.6.9      -> 1.6.9
 * [new tag]         1.7.0      -> 1.7.0
 * [new tag]         1.7.1      -> 1.7.1
 * [new tag]         1.7.2      -> 1.7.2
 * [new tag]         1.7.3      -> 1.7.3
 * [new tag]         1.7.4      -> 1.7.4
 * [new tag]         1.7.5      -> 1.7.5
 * [new tag]         1.7.6      -> 1.7.6
 * [new tag]         1.7.7      -> 1.7.7
 * [new tag]         1.8.0      -> 1.8.0
 * [new tag]         1.8.1      -> 1.8.1
 * [new tag]         1.8.2      -> 1.8.2
 * [new tag]         1.8.3      -> 1.8.3
 * [new tag]         1.8.4      -> 1.8.4
 * [new tag]         1.8.5      -> 1.8.5
 * [new tag]         1.8.6      -> 1.8.6
 * [new tag]         1.9.0      -> 1.9.0
 * [new tag]         1.9.1      -> 1.9.1
 * [new tag]         1.9.2      -> 1.9.2
 * [new tag]         1.9.3      -> 1.9.3
 * [new tag]         2.0.0      -> 2.0.0
 * [new tag]         2.0.1      -> 2.0.1
 * [new tag]         2.0.2      -> 2.0.2
 * [new tag]         2.0.3      -> 2.0.3
 * [new tag]         2.0.4      -> 2.0.4
 * [new tag]         2.0.5      -> 2.0.5
 * [new tag]         2.0.6      -> 2.0.6
 * [new tag]         2.1.0      -> 2.1.0
 * [new tag]         2.1.1      -> 2.1.1
 * [new tag]         2.1.2      -> 2.1.2
Checking out files: 100% (1797/1797), done.
HEAD is now at bcc5f04 Merge pull request #6143 from letmaik/letmaik/HOMEBREW_CURL_RETRIES
==> Tapping homebrew/core
Cloning into '/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core'...
remote: Enumerating objects: 5044, done.
remote: Counting objects: 100% (5044/5044), done.
remote: Compressing objects: 100% (4840/4840), done.
remote: Total 5044 (delta 56), reused 649 (delta 10), pack-reused 0
Receiving objects: 100% (5044/5044), 4.22 MiB | 2.26 MiB/s, done.
Resolving deltas: 100% (56/56), done.
Checking out files: 100% (5060/5060), done.
Tapped 3 commands and 4824 formulae (5,083 files, 13.2MB).
==> Installing dependencies for curl: patchelf, zlib, binutils, linux-headers, glibc, m4, gmp, mpfr, libmpc, isl@0.18, gcc and openssl
==> Installing curl dependency: patchelf
==> Downloading https://linuxbrew.bintray.com/bottles/patchelf-0.10.x86_64_linux.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/04/04628ac9ef53920ef0c0d612b40a30c6457e494d269a84e7eed3bf999e2f8951?__gda__=exp=1558269396~hmac
######################################################################## 100.0%
==> Pouring patchelf-0.10.x86_64_linux.bottle.tar.gz
🍺  /home/linuxbrew/.linuxbrew/Cellar/patchelf/0.10: 8 files, 921.5KB
==> Installing curl dependency: zlib
==> Downloading https://linuxbrew.bintray.com/bottles/zlib-1.2.11.x86_64_linux.bottle.tar.gz
######################################################################## 100.0%
==> Pouring zlib-1.2.11.x86_64_linux.bottle.tar.gz
🍺  /home/linuxbrew/.linuxbrew/Cellar/zlib/1.2.11: 12 files, 424KB
==> Installing curl dependency: binutils
==> Downloading https://linuxbrew.bintray.com/bottles/binutils-2.32.x86_64_linux.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/ef/ef7ed4e1f676ba42a72928a6925febf3a95d73424986f8ebb8d4b458923004b1?__gda__=exp=1558269411~hmac
######################################################################## 100.0%
==> Pouring binutils-2.32.x86_64_linux.bottle.tar.gz
🍺  /home/linuxbrew/.linuxbrew/Cellar/binutils/2.32: 4,683 files, 289.3MB
==> Installing curl dependency: linux-headers
==> Downloading https://linuxbrew.bintray.com/bottles/linux-headers-4.4.80.x86_64_linux.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/b9/b9d7edb2760ec070372d6dd37f2dff85c34221cf77d124d4732092447ac2cf9f?__gda__=exp=1558269476~hmac
######################################################################## 100.0%
==> Pouring linux-headers-4.4.80.x86_64_linux.bottle.tar.gz
🍺  /home/linuxbrew/.linuxbrew/Cellar/linux-headers/4.4.80: 772 files, 3.7MB
==> Installing curl dependency: glibc
==> Downloading https://linuxbrew.bintray.com/bottles/glibc-2.23.x86_64_linux.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/65/654794e9e18c2401f1101a3fcf0a85eda448b4b969e9a99782a3f4f4659feda4?__gda__=exp=1558269487~hmac
######################################################################## 100.0%
==> Pouring glibc-2.23.x86_64_linux.bottle.tar.gz
==> Installing locale data for en_US.UTF-8
==> /home/linuxbrew/.linuxbrew/Cellar/glibc/2.23/bin/localedef -i en_US -f UTF-8 en_US.UTF-8
🍺  /home/linuxbrew/.linuxbrew/Cellar/glibc/2.23: 1,367 files, 85.7MB
==> Installing curl dependency: m4
==> Downloading https://linuxbrew.bintray.com/bottles/m4-1.4.18.x86_64_linux.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/5a/5a2327087fb76145b4d0fb23acc244115adc3ced14ffc2a6231159a4f16c8a7f?__gda__=exp=1558269559~hmac
######################################################################## 100.0%
==> Pouring m4-1.4.18.x86_64_linux.bottle.tar.gz
Error: Failure while executing; `/home/linuxbrew/.linuxbrew/bin/patchelf --print-rpath /home/linuxbrew/.linuxbrew/Cellar/m4/1.4.18/bin/m4` exited with 127. Here's the output:
/home/linuxbrew/.linuxbrew/bin/patchelf: ����: ELF���: x�: Error 1157174423
Warning: Bottle installation failed: building from source.
==> Downloading https://ftp.gnu.org/gnu/m4/m4-1.4.18.tar.xz
######################################################################## 100.0%
==> ./configure --prefix=/home/linuxbrew/.linuxbrew/Cellar/m4/1.4.18
==> make
==> make install
🍺  /home/linuxbrew/.linuxbrew/Cellar/m4/1.4.18: 13 files, 629.6KB, built in 3 minutes 7 seconds
==> Installing curl dependency: gmp
==> Downloading https://linuxbrew.bintray.com/bottles/gmp-6.1.2_2.x86_64_linux.bottle.1.tar.gz
==> Downloading from https://akamai.bintray.com/09/09d722e6321b67257e80f08b7c69202b5898189ccd81677adcdc714faaa86e3b?__gda__=exp=1558269748~hmac
######################################################################## 100.0%
==> Pouring gmp-6.1.2_2.x86_64_linux.bottle.1.tar.gz
Error: Failure while executing; `/home/linuxbrew/.linuxbrew/bin/patchelf --print-rpath /home/linuxbrew/.linuxbrew/Cellar/gmp/6.1.2_2/lib/libgmp.so.10.3.2` exited with 127. Here's the output:
/home/linuxbrew/.linuxbrew/bin/patchelf: �4���: ELF���: x�: Error 489305239
Warning: Bottle installation failed: building from source.
==> Downloading https://gmplib.org/download/gmp/gmp-6.1.2.tar.xz
######################################################################## 100.0%
==> ./configure --prefix=/home/linuxbrew/.linuxbrew/Cellar/gmp/6.1.2_2 --enable-cxx --with-pic --build=core2-linux-gnu
Last 15 lines from /home/albert/.cache/Homebrew/Logs/gmp/01.configure:
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking build system compiler gcc -std=gnu99... yes
checking for build system preprocessor... gcc -std=gnu99 -E
checking for build system executable suffix... 
checking whether build system compiler is ANSI... yes
checking for build system compiler math library... -lm
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking C++ compiler g++  -O2 -pedantic -fomit-frame-pointer -m64 -mtune=core2 -march=core2... no, program does not run
checking C++ compiler g++  -g -O2... no, program does not run
configure: error: C++ compiler not available, see config.log for details

READ THIS: https://docs.brew.sh/Troubleshooting

These open issues may also help:
gmp: test for intel hardware before picking intel specific options https://github.com/Homebrew/linuxbrew-core/pull/12685
==> Installing dependencies for git: gmp, mpfr, libmpc, isl@0.18, gcc, ncurses, gettext, bzip2, pcre2, openssl, curl, libbsd and expat
==> Installing git dependency: gmp
==> Downloading https://linuxbrew.bintray.com/bottles/gmp-6.1.2_2.x86_64_linux.bottle.1.tar.gz
Already downloaded: /home/albert/.cache/Homebrew/downloads/af8d3677f2ff679c34a589ac41544ce8865976921f0febfe43ea3b797e8fe19a--gmp-6.1.2_2.x86_64_linux.bottle.1.tar.gz
==> Pouring gmp-6.1.2_2.x86_64_linux.bottle.1.tar.gz
Error: Failure while executing; `/home/linuxbrew/.linuxbrew/bin/patchelf --print-rpath /home/linuxbrew/.linuxbrew/Cellar/gmp/6.1.2_2/lib/libgmp.so.10.3.2` exited with 127. Here's the output:
/home/linuxbrew/.linuxbrew/bin/patchelf: : ELF���: x�: Error 18446744072017130647
Warning: Bottle installation failed: building from source.
==> Downloading https://gmplib.org/download/gmp/gmp-6.1.2.tar.xz
Already downloaded: /home/albert/.cache/Homebrew/downloads/89f0aba554cb9ab1c8364494f48a7d8bac8fbe1fcef3be50382a813a3d302d77--gmp-6.1.2.tar.xz
==> ./configure --prefix=/home/linuxbrew/.linuxbrew/Cellar/gmp/6.1.2_2 --enable-cxx --with-pic --build=core2-linux-gnu
Last 15 lines from /home/albert/.cache/Homebrew/Logs/gmp/01.configure:
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking build system compiler gcc -std=gnu99... yes
checking for build system preprocessor... gcc -std=gnu99 -E
checking for build system executable suffix... 
checking whether build system compiler is ANSI... yes
checking for build system compiler math library... -lm
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking C++ compiler g++  -O2 -pedantic -fomit-frame-pointer -m64 -mtune=core2 -march=core2... no, program does not run
checking C++ compiler g++  -g -O2... no, program does not run
configure: error: C++ compiler not available, see config.log for details

READ THIS: https://docs.brew.sh/Troubleshooting

These open issues may also help:
gmp: test for intel hardware before picking intel specific options https://github.com/Homebrew/linuxbrew-core/pull/12685
==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
  https://github.com/Homebrew/brew#donations
Already up-to-date.
==> Installation successful!

==> Homebrew has enabled anonymous aggregate formulae and cask analytics.
Read the analytics documentation (and how to opt-out) here:
  https://docs.brew.sh/Analytics.html

==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
  https://github.com/Homebrew/brew#donations
==> Next steps:
- Install the Linuxbrew dependencies if you have sudo access:
  Debian, Ubuntu, etc.
    sudo apt-get install build-essential
  Fedora, Red Hat, CentOS, etc.
    sudo yum groupinstall 'Development Tools'
  See http://linuxbrew.sh/#dependencies for more information.
- Configure Linuxbrew in your ~/.profile by running
    echo 'eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)' >>~/.profile
- Add Linuxbrew to your PATH
    eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
- We recommend that you install GCC by running:
    brew install gcc
- Run `brew help` to get started
- Further documentation: 
    https://docs.brew.sh
Warning: /home/linuxbrew/.linuxbrew/bin is not in your PATH.
@sjackman
Copy link
Member

Please surround copied-and-pasted logs with triple back ticks. See GitHub Help / Quoting Code.

@sjackman
Copy link
Member

A similar bug was reported in https://github.com/Homebrew/linuxbrew-core/issues/13148. We're looking into it now. You can try this workaround in the mean time.

brew unlink patchelf
brew install https://raw.githubusercontent.com/Homebrew/linuxbrew-core/1d5b681f01440527bc47b3937f25bee3e82b9169/Formula/patchelf.rb
brew reinstall gmp

@sjackman
Copy link
Member

I believe this issue is resolved by PR https://github.com/Homebrew/linuxbrew-core/pull/13210.
Run…

brew update
brew reinstall patchelf

@ghost
Copy link
Author

ghost commented Jun 2, 2019

Thank you @sjackman for suggestion. I managed to install seamlessly OpenCV, Python, etc using the latest Linuxbrew. It works fine for now.

@sjackman
Copy link
Member

sjackman commented Jun 3, 2019

Glad to hear it. Thanks for the follow up post, Albert!

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

No branches or pull requests

1 participant