Please fill out the issue checklist below, and provide all of the requested information.
Please always follow these steps:
[ X] ran a brew command and reproduced the problem with multiple formulae? If it's a problem with a single, official formula please file this issue at Linuxbrew/homebrew-core: https://github.com/Linuxbrew/homebrew-core/issues/new. If it's a tap 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?
brew config:
HOMEBREW_VERSION: 1.6.0
ORIGIN: https://github.com/Linuxbrew/brew.git
HEAD: 8bd8aa231cf2812ba7538f2e74b6c32e5fb567b8
Last commit: 6 days ago
Core tap ORIGIN: https://github.com/Linuxbrew/homebrew-core
Core tap HEAD: 1e28585579d1df08cbdbcf705bfbb157306b3c75
Core tap last commit: 4 hours ago
HOMEBREW_PREFIX: /home/<home_dir>/.linuxbrew
HOMEBREW_REPOSITORY: /home/<home_dir>/.linuxbrew
HOMEBREW_CELLAR: /home/<home_dir>/.linuxbrew/Cellar
HOMEBREW_CACHE: /home/<home_dir>/.cache/Homebrew
CPU: 16-core 64-bit 0x1701
Homebrew Ruby: 2.3.3 => /home/<home_dir>/.linuxbrew/Library/Homebrew/vendor/portable-ruby/2.3.3/bin/ruby
Clang: N/A
Git: 2.16.2 => /bin/git
Curl: 7.59.0 => /usr/bin/curl
Java: N/A
Kernel: Linux 4.14.30-1-MANJARO x86_64 GNU/Linux
OS: Manjaro Linux (Hakoila)
Host glibc: 2.26
/usr/bin/gcc: 7.3.1
glibc: N/A
gcc: N/A
xorg: N/A
brew doctor:
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: python is symlinked to python3
This will confuse build scripts and in general lead to subtle breakage.
What I was trying to do:
I was trying to run the command brew install rustup.
What happened:
I got a linking error that looks like the following:
openssl_sys10-209872d6332207cdd3cab25e0dda39a7.rs:(.text._ZN3std4sync4once4Once9call_once28_$u7b$$u7b$closure$u7d$$u7d$17haacc6d65878783cdE+0x1e): undefined reference to `SSL_library_init'
openssl_sys10-209872d6332207cdd3cab25e0dda39a7.rs:(.text._ZN3std4sync4once4Once9call_once28_$u7b$$u7b$closure$u7d$$u7d$17haacc6d65878783cdE+0x23): undefined reference to `SSL_load_error_strings'
openssl_sys10-209872d6332207cdd3cab25e0dda39a7.rs:(.text._ZN3std4sync4once4Once9call_once28_$u7b$$u7b$closure$u7d$$u7d$17haacc6d65878783cdE+0x28): undefined reference to `OPENSSL_add_all_algorithms_noconf'
openssl_sys10-209872d6332207cdd3cab25e0dda39a7.rs:(.text._ZN3std4sync4once4Once9call_once28_$u7b$$u7b$closure$u7d$$u7d$17haacc6d65878783cdE+0x2d): undefined reference to `CRYPTO_num_locks'
openssl_sys10-209872d6332207cdd3cab25e0dda39a7.rs:(.text._ZN3std4sync4once4Once9call_once28_$u7b$$u7b$closure$u7d$$u7d$17haacc6d65878783cdE+0x1ab): undefined reference to `CRYPTO_set_locking_callback'
openssl_sys10-209872d6332207cdd3cab25e0dda39a7.rs:(.text._ZN3std4sync4once4Once9call_once28_$u7b$$u7b$closure$u7d$$u7d$17haacc6d65878783cdE+0x1b7): undefined reference to `CRYPTO_set_id_callback'
collect2: error: ld returned 1 exit status
error: aborting due to previous error
error: Could not compile 'rustup'.
Caused by:
process didn't exit successfully: `rustc --crate-name rustup_init src/rustup-cli/main.rs --crate-type bin --emit=dep-info,link -C opt-level=3 --cfg feature="curl-backend" --cfg feature="default" --cfg feature="download" --cfg feature="reqwest-backend" -C metadata=7a1024a6d6751208 -C extra-filename=-7a1024a6d6751208 --out-dir /tmp/rustup-init-20180416-28206-wrsk6k/rustup.rs-1.11.0/target/release/deps -L dependency=/tmp/rustup-init-20180416-28206-wrsk6k/rustup.rs-1.11.0/target/release/deps --extern toml=/tmp/rustup-init-20180416-28206-wrsk6k/rustup.rs-1.11.0/target/release/deps/libtoml-7110108445c58f94.rlib --extern remove_dir_all=/tmp/rustup-init-20180416-28206-wrsk6k/rustup.rs-1.11.0/target/release/deps/libremove_dir_all-4e5e0efca912e2e5.rlib --extern clap=/tmp/rustup-init-20180416-28206-wrsk6k/rustup.rs-1.11.0/target/release/deps/libclap-8f49faa3201ee2c7.rlib --extern scopeguard=/tmp/rustup-init-20180416-28206-wrsk6k/rustup.rs-1.11.0/target/release/deps/libscopeguard-4d0907cd34c8e40c.rlib --extern rustup_dist=/tmp/rustup-init-20180416-28206-wrsk6k/rustup.rs-1.11.0/target/release/deps/librustup_dist-15536379259278e2.rlib --extern url=/tmp/rustup-init-20180416-28206-wrsk6k/rustup.rs-1.11.0/target/release/deps/liburl-7af16e2743244a7c.rlib --extern libc=/tmp/rustup-init-20180416-28206-wrsk6k/rustup.rs-1.11.0/target/release/deps/liblibc-aed47f23120281e9.rlib --extern markdown=/tmp/rustup-init-20180416-28206-wrsk6k/rustup.rs-1.11.0/target/release/deps/libmarkdown-4278e799552b9c2f.rlib --extern time=/tmp/rustup-init-20180416-28206-wrsk6k/rustup.rs-1.11.0/target/release/deps/libtime-bfd074654cc260e5.rlib --extern serde=/tmp/rustup-init-20180416-28206-wrsk6k/rustup.rs-1.11.0/target/release/deps/libserde-2aed992a878c66f0.rlib --extern serde_derive=/tmp/rustup-init-20180416-28206-wrsk6k/rustup.rs-1.11.0/target/release/deps/libserde_derive-17ec424a0bd65641.so --extern wait_timeout=/tmp/rustup-init-20180416-28206-wrsk6k/rustup.rs-1.11.0/target/release/deps/libwait_timeout-cedf17abd1d4a4f0.rlib --extern error_chain=/tmp/rustup-init-20180416-28206-wrsk6k/rustup.rs-1.11.0/target/release/deps/liberror_chain-3e582544e211e766.rlib --extern sha2=/tmp/rustup-init-20180416-28206-wrsk6k/rustup.rs-1.11.0/target/release/deps/libsha2-73231e780c8a19bf.rlib --extern rand=/tmp/rustup-init-20180416-28206-wrsk6k/rustup.rs-1.11.0/target/release/deps/librand-ec1bc5fa8f9d8040.rlib --extern tempfile=/tmp/rustup-init-20180416-28206-wrsk6k/rustup.rs-1.11.0/target/release/deps/libtempfile-f33d56bfdec8d5d2.rlib --extern regex=/tmp/rustup-init-20180416-28206-wrsk6k/rustup.rs-1.11.0/target/release/deps/libregex-1d923b7dee7eeaea.rlib --extern same_file=/tmp/rustup-init-20180416-28206-wrsk6k/rustup.rs-1.11.0/target/release/deps/libsame_file-f3b4ac20fa00bad0.rlib --extern serde_json=/tmp/rustup-init-20180416-28206-wrsk6k/rustup.rs-1.11.0/target/release/deps/libserde_json-a0245a3cb309c9ed.rlib --extern download=/tmp/rustup-init-20180416-28206-wrsk6k/rustup.rs-1.11.0/target/release/deps/libdownload-d68fad3f767a28c7.rlib --extern rustup_utils=/tmp/rustup-init-20180416-28206-wrsk6k/rustup.rs-1.11.0/target/release/deps/librustup_utils-d140fdc2136716ac.rlib --extern itertools=/tmp/rustup-init-20180416-28206-wrsk6k/rustup.rs-1.11.0/target/release/deps/libitertools-edee768f6212e162.rlib --extern term=/tmp/rustup-init-20180416-28206-wrsk6k/rustup.rs-1.11.0/target/release/deps/libterm-b0627579c9812cbf.rlib --extern tempdir=/tmp/rustup-init-20180416-28206-wrsk6k/rustup.rs-1.11.0/target/release/deps/libtempdir-4809452e8c49e7cc.rlib --extern rustup=/tmp/rustup-init-20180416-28206-wrsk6k/rustup.rs-1.11.0/target/release/deps/librustup-deb52e9baf382f29.rlib -L native=/usr/lib -L native=/usr/lib -L native=/home/<home_dir>/.linuxbrew/Cellar/openssl/1.0.2o_1/lib -L native=/tmp/rustup-init-20180416-28206-wrsk6k/rustup.rs-1.11.0/target/release/build/backtrace-sys-ca9ea20803f4557c/out/.libs -L native=/tmp/rustup-init-20180416-28206-wrsk6k/rustup.rs-1.11.0/target/release/build/miniz-sys-6f4add7e7c624865/out -L native=/usr/lib` (exit code: 101)
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.
What I expected to happen?
I expected rustup to be installed without error.
How to reproduce?
Run brew install rustup
I am happy to help out in whatever way I can. I love linuxbrew and don't expect y'all to fix all my problems. If there is anything I can do to help please let me know.
Please fill out the issue checklist below, and provide all of the requested information.
Please always follow these steps:
brew
command and reproduced the problem with multiple formulae? If it's a problem with a single, official formula please file this issue at Linuxbrew/homebrew-core: https://github.com/Linuxbrew/homebrew-core/issues/new. If it's a tap problem please file this issue at the tap.brew update
and can still reproduce the problem?brew doctor
, fixed all issues and can still reproduce the problem?brew config
andbrew doctor
and included their output with your issue?brew config:
brew doctor:
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)What I was trying to do: I was trying to run the command
brew install rustup
.What happened: I got a linking error that looks like the following:
What I expected to happen? I expected rustup to be installed without error.
How to reproduce? Run
brew install rustup
I am happy to help out in whatever way I can. I love linuxbrew and don't expect y'all to fix all my problems. If there is anything I can do to help please let me know.