Linuxbrew / brew

:beer::penguin: The Homebrew package manager for Linux
https://linuxbrew.sh
BSD 2-Clause "Simplified" License
2.66k stars 237 forks source link

rpm: librpmio.so: undefined reference to `EVP_md2' #886

Closed ranavikas007 closed 6 years ago

ranavikas007 commented 6 years ago
(2.7.14/envs/7) [uedanger@ip-10-90-152-135 edgedatastore-terraform]$ cat /etc/redhat-release 
CentOS Linux release 7.5.1804 (Core) 

(2.7.14/envs/7) [uedanger@ip-10-90-152-135 edgedatastore-terraform]$ uname -a
Linux ip-10-90-152-135 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 GNU/Linux

(2.7.14/envs/7) [uedanger@ip-10-90-152-135 edgedatastore-terraform]$ brew update
Already up-to-date.

(2.7.14/envs/7) [uedanger@ip-10-90-152-135 edgedatastore-terraform]$ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.

Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:
  /bin/pkg-config
  /bin/ncurses5-config
  /bin/ncursesw5-config
  /bin/pcre-config
  /bin/krb5-config
  /home/uedanger/.pyenv/shims/python2.7-config
  /home/uedanger/.pyenv/shims/python2-config
  /home/uedanger/.pyenv/shims/python-config

Warning: Homebrew's sbin was not found in your PATH but you have installed
formulae that put executables in /home/uedanger/.linuxbrew/sbin.
Consider setting the PATH for example like so
  echo 'export PATH="/home/uedanger/.linuxbrew/sbin:$PATH"' >> ~/.bash_profile

(2.7.14/envs/7) [uedanger@ip-10-90-152-135 edgedatastore-terraform]$ brew info rpm
rpm: stable 4.14.1
Standard unix software packaging tool
http://www.rpm.org/
Not installed
From: https://github.com/Linuxbrew/homebrew-core/blob/master/Formula/rpm.rb
==> Dependencies
Required: berkeley-db ✔, gettext ✔, libarchive ✔, libmagic ✔, lua@5.1 ✔, openssl ✔, pkg-config ✔, popt ✔, xz ✔, zstd ✔
==> Analytics
install: 1,655 (30 days), 5,102 (90 days), 24,812 (365 days)
install_on_request: 1,557 (30 days), 4,781 (90 days), 21,305 (365 days)
build_error: 0 (30 days)

(2.7.14/envs/7) [uedanger@ip-10-90-152-135 edgedatastore-terraform]$ brew install rpm
==> Downloading http://ftp.rpm.org/releases/rpm-4.14.x/rpm-4.14.1.tar.bz2
Already downloaded: /home/uedanger/.cache/Homebrew/downloads/8996ce9c891825d95171a4bb36faee153bcd4804d72a4ab94655a2c367397f6f--rpm-4.14.1.tar.bz2
==> ./configure --disable-silent-rules --prefix=/home/uedanger/.linuxbrew/Cellar/rpm/4.14.1_1 --localstatedir=/home/uedanger/.linuxbrew/var --sharedstatedir=/
==> make install
Last 15 lines from /home/uedanger/.cache/Homebrew/Logs/rpm/02.make:
make[2]: *** [rpm2archive] Error 1
/home/uedanger/.linuxbrew/bin/ld: rpmio/.libs/librpmio.so: undefined reference to `EVP_md2'
collect2: error: ld returned 1 exit status
make[2]: *** [rpmdeps] Error 1
libtool: link: ar cru .libs/libcliutils.a .libs/libcliutils_la-cliutils.o 
ar: `u' modifier ignored since `D' is the default (see `U')
libtool: link: ranlib .libs/libcliutils.a
/home/uedanger/.linuxbrew/bin/ld: /tmp/rpm-20181113-13352-t4gooc/rpm-4.14.1/rpmio/.libs/librpmio.so: undefined reference to `EVP_md2'
collect2: error: ld returned 1 exit status
make[2]: *** [rpmgraph] Error 1
libtool: link: ( cd ".libs" && rm -f "libcliutils.la" && ln -s "../libcliutils.la" "libcliutils.la" )
make[2]: Leaving directory `/tmp/rpm-20181113-13352-t4gooc/rpm-4.14.1'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/tmp/rpm-20181113-13352-t4gooc/rpm-4.14.1'
make: *** [install] Error 2

READ THIS: https://github.com/Linuxbrew/brew/wiki/troubleshooting
Please do not report this issue to Homebrew/brew or Homebrew/core,
which support macOS only."

**Please fill out the issue checklist below and provide all the requested information.**

- [x] ran a `brew` command and reproduced the problem with multiple formulae? If it's a problem with a single, official formula (not cask) please file this issue at Linuxbrew/homebrew-core: https://github.com/Linuxbrew/homebrew-core/issues/new/choose. If it's a `brew cask` problem please file this issue at https://github.com/Homebrew/homebrew-cask/issues/new/choose. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.
- [x] ran `brew update` and can still reproduce the problem?
- [x] ran `brew doctor`, fixed all issues and can still reproduce the problem?
- [x] ran `brew config` and `brew doctor` and included their output with your issue?

To help us debug your issue please explain:
- What you were trying to do (and why)
- What happened (include command output)
- What you expected to happen
- Step-by-step reproduction instructions (by running `brew` commands)
ranavikas007 commented 6 years ago

Brew Config:

(2.7.14/envs/7) [uedanger@ip-10-90-152-135 edgedatastore-terraform]$ brew config HOMEBREW_VERSION: 1.8.1 ORIGIN: https://github.com/Linuxbrew/brew HEAD: 4c4ed05a7d5755ed8c7e9f974959276216c5cb26 Last commit: 2 days ago Core tap ORIGIN: https://github.com/Linuxbrew/homebrew-core Core tap HEAD: 50673f9c527112a51ad5aefecd07a9af5ff66683 Core tap last commit: 11 hours ago HOMEBREW_PREFIX: /home/uedanger/.linuxbrew HOMEBREW_REPOSITORY: /home/uedanger/.linuxbrew/Homebrew HOMEBREW_CELLAR: /home/uedanger/.linuxbrew/Cellar HOMEBREW_CACHE: /home/uedanger/.cache/Homebrew HOMEBREW_SYSTEM_CURL_TOO_OLD: 1 CPU: 16-core 64-bit skylake Homebrew Ruby: 2.3.7 => /home/uedanger/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby Clang: N/A Git: 2.19.1 => /home/uedanger/.linuxbrew/bin/git Curl: 7.62.0 => /home/uedanger/.linuxbrew/opt/curl/bin/curl Kernel: Linux 3.10.0-862.14.4.el7.x86_64 x86_64 GNU/Linux OS: CentOS Linux release 7.5.1804 (Core) Host glibc: 2.17 /usr/bin/gcc: 4.8.5 glibc: 2.23 gcc: 5.5.0_4 xorg: N/A

sjackman commented 6 years ago

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

sjackman commented 6 years ago

Please report issues with individual formula to Linuxbrew/core.

ghost commented 6 years ago

This issue was moved by sjackman to Linuxbrew/homebrew-core#10305.

sjackman commented 6 years ago

/move to core