# Issues installing a range of packages

**URL:** <https://discourse.julialang.org/t/issues-installing-a-range-of-packages/21894>\
**Category:** General Usage\
**Created:** [March 15, 2019, 12:56am UTC](https://discourse.julialang.org/t/issues-installing-a-range-of-packages/21894 "2019-03-15T00:56:46Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![nickeubank](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nickeubank/32/3878_2.png) [@nickeubank](https://discourse.julialang.org/u/nickeubank)\
**Post date:** [March 15, 2019, 12:56am UTC](https://discourse.julialang.org/t/issues-installing-a-range-of-packages/21894/1 "2019-03-15T00:56:46Z")

</div>

I’m having an awful time getting CodecZlib, ZMQ, and MbedTLS to install. All give me errors that look roughly like this:

```julia
(v1.1) pkg> build MbedTLS
  Building MbedTLS → `~/.julia/packages/MbedTLS/X4xar/deps/build.log`
┌ Error: Error building `MbedTLS`: 
│ ┌ Warning: platform_key() is deprecated, use platform_key_abi() from now on
│ │ caller = ip:0x0
│ └ @ Core :-1
│ [ Info: Downloading https://github.com/JuliaWeb/MbedTLSBuilder/releases/download/v0.16.0/MbedTLS.v2.13.1.x86_64-apple-darwin14.tar.gz to /Users/Nick/.julia/packages/MbedTLS/X4xar/deps/usr/downloads/MbedTLS.v2.13.1.x86_64-apple-darwin14.tar.gz...
│ ERROR: LoadError: Could not download https://github.com/JuliaWeb/MbedTLSBuilder/releases/download/v0.16.0/MbedTLS.v2.13.1.x86_64-apple-darwin14.tar.gz to /Users/Nick/.julia/packages/MbedTLS/X4xar/deps/usr/downloads/MbedTLS.v2.13.1.x86_64-apple-darwin14.tar.gz:
│ ErrorException("")
│ Stacktrace:
│ [1] error(::String) at ./error.jl:33
│ [2] #download#89(::Bool, ::Function, ::String, ::String) at /Users/Nick/.julia/packages/BinaryProvider/4F5Hq/src/PlatformEngines.jl:498
│ [3] #download at ./none:0 [inlined]
│ [4] #download_verify#90(::Bool, ::Bool, ::Bool, ::Function, ::String, ::String, ::String) at /Users/Nick/.julia/packages/BinaryProvider/4F5Hq/src/PlatformEngines.jl:567
│ [5] #download_verify at ./none:0 [inlined]
│ [6] #install#129(::Prefix, ::String, ::Bool, ::Bool, ::Bool, ::Function, ::String, ::String) at /Users/Nick/.julia/packages/BinaryProvider/4F5Hq/src/Prefix.jl:314
│ [7] (::getfield(BinaryProvider, Symbol("#kw##install")))(::NamedTuple{(:prefix, :force, :verbose),Tuple{Prefix,Bool,Bool}}, ::typeof(install), ::String, ::String) at ./none:0
│ [8] top-level scope at /Users/Nick/.julia/packages/MbedTLS/X4xar/deps/build.jl:48
│ [9] include at ./boot.jl:326 [inlined]
│ [10] include_relative(::Module, ::String) at ./loading.jl:1038
│ [11] include(::Module, ::String) at ./sysimg.jl:29
│ [12] include(::String) at ./client.jl:403
│ [13] top-level scope at none:0
│ in expression starting at /Users/Nick/.julia/packages/MbedTLS/X4xar/deps/build.jl:44
│ [19:49:27] dyld: Library not loaded: @rpath/libssl.1.0.0.dylib
│ [19:49:27] Referenced from: /Users/Nick/anaconda/lib/libssh2.1.dylib
│ [19:49:27] Reason: image not found
└ @ Pkg.Operations /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.1/Pkg/src/Operations.jl:1075

```

I’ve managed to get them running by downloading the package it can’t get myself from in firefox, moving to the relevant folder, then building, but not at all clear why this is an issue!

MacOS 10.14.3  
Julia 1.1.0

Even tried nuking my `.julia` repo, updating `curl` in anaconda, doing a `brew install curl`, and using both Julia 1.1.0 and Julia 1.0.3.

---

<div class="post-metadata">

**Author:** ![xiaodai](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xiaodai/32/15937_2.png) [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Post date:** [March 15, 2019, 5:58am UTC](https://discourse.julialang.org/t/issues-installing-a-range-of-packages/21894/2 "2019-03-15T05:58:18Z")

</div>

Are you working in a corporate environment? My client uses zscaler to block downloads, which they scan and if deemed safe would allow you to download.

However, Juila can’t seem to deal with that, but a browser can. So your way of downloading it into the correct directory seems the way to go.

---

<div class="post-metadata">

**Author:** ![nickeubank](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nickeubank/32/3878_2.png) [@nickeubank](https://discourse.julialang.org/u/nickeubank)\
**Post date:** [March 15, 2019, 1:50pm UTC](https://discourse.julialang.org/t/issues-installing-a-range-of-packages/21894/3 "2019-03-15T13:50:23Z")

</div>

No, just a macbook pro on a home fiber network. 😕

---

<div class="post-metadata">

**Author:** ![nickeubank](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nickeubank/32/3878_2.png) [@nickeubank](https://discourse.julialang.org/u/nickeubank)\
**Post date:** [March 15, 2019, 2:10pm UTC](https://discourse.julialang.org/t/issues-installing-a-range-of-packages/21894/4 "2019-03-15T14:10:00Z")

</div>

I also just tried turning off the Apple firewall to see if that would make a difference but it doesn’t.

---

<div class="post-metadata">

**Author:** ![xiaodai](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xiaodai/32/15937_2.png) [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Post date:** [March 15, 2019, 8:27pm UTC](https://discourse.julialang.org/t/issues-installing-a-range-of-packages/21894/5 "2019-03-15T20:27:34Z")

</div>

Does mac have antivirus?

---

<div class="post-metadata">

**Author:** ![nickeubank](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nickeubank/32/3878_2.png) [@nickeubank](https://discourse.julialang.org/u/nickeubank)\
**Post date:** [March 16, 2019, 12:14am UTC](https://discourse.julialang.org/t/issues-installing-a-range-of-packages/21894/6 "2019-03-16T00:14:18Z")

</div>

bitdefender. But even after turning off firewall again and turning off bitdefender:

```julia
(v1.1) pkg> build CodecZlib
  Building CodecZlib → `~/.julia/packages/CodecZlib/9jDi1/deps/build.log`
┌ Error: Error building `CodecZlib`: 
│ [ Info: Downloading https://github.com/bicycle1885/ZlibBuilder/releases/download/v1.0.4/Zlib.v1.2.11.x86_64-apple-darwin14.tar.gz to /Users/Nick/.julia/packages/CodecZlib/9jDi1/deps/usr/downloads/Zlib.v1.2.11.x86_64-apple-darwin14.tar.gz...
│ ERROR: LoadError: Could not download https://github.com/bicycle1885/ZlibBuilder/releases/download/v1.0.4/Zlib.v1.2.11.x86_64-apple-darwin14.tar.gz to /Users/Nick/.julia/packages/CodecZlib/9jDi1/deps/usr/downloads/Zlib.v1.2.11.x86_64-apple-darwin14.tar.gz:
│ ErrorException("")
│ Stacktrace:
│ [1] error(::String) at ./error.jl:33
│ [2] #download#89(::Bool, ::Function, ::String, ::String) at /Users/Nick/.julia/packages/BinaryProvider/4F5Hq/src/PlatformEngines.jl:498
│ [3] #download at ./none:0 [inlined]
│ [4] #download_verify#90(::Bool, ::Bool, ::Bool, ::Function, ::String, ::String, ::String) at /Users/Nick/.julia/packages/BinaryProvider/4F5Hq/src/PlatformEngines.jl:567
│ [5] #download_verify at ./none:0 [inlined]
│ [6] #install#129(::Prefix, ::String, ::Bool, ::Bool, ::Bool, ::Function, ::String, ::String) at /Users/Nick/.julia/packages/BinaryProvider/4F5Hq/src/Prefix.jl:314
│ [7] (::getfield(BinaryProvider, Symbol("#kw##install")))(::NamedTuple{(:prefix, :force, :verbose),Tuple{Prefix,Bool,Bool}}, ::typeof(install), ::String, ::String) at ./none:0
│ [8] top-level scope at /Users/Nick/.julia/packages/CodecZlib/9jDi1/deps/build.jl:89
│ [9] include at ./boot.jl:326 [inlined]
│ [10] include_relative(::Module, ::String) at ./loading.jl:1038
│ [11] include(::Module, ::String) at ./sysimg.jl:29
│ [12] include(::String) at ./client.jl:403
│ [13] top-level scope at none:0
│ in expression starting at /Users/Nick/.julia/packages/CodecZlib/9jDi1/deps/build.jl:78
│ [19:13:48] dyld: Library not loaded: @rpath/libssl.1.0.0.dylib
│ [19:13:48] Referenced from: /Users/Nick/anaconda/lib/libssh2.1.dylib
│ [19:13:48] Reason: image not found
└ @ Pkg.Operations /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.1/Pkg/src/Operations.jl:1075

```

---

<div class="post-metadata">

**Author:** ![johnh](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/johnh/32/3615_2.png) [@johnh](https://discourse.julialang.org/u/johnh)\
**Post date:** [March 16, 2019, 12:38pm UTC](https://discourse.julialang.org/t/issues-installing-a-range-of-packages/21894/7 "2019-03-16T12:38:27Z")

</div>

> [@nickeubank](#):
>
> [https://github.com/bicycle1885/ZlibBuilder/releases/download/v1.0.4/Zlib.v1.2.11.x86\_64-apple-darwin14.tar.gz](https://github.com/bicycle1885/ZlibBuilder/releases/download/v1.0.4/Zlib.v1.2.11.x86_64-apple-darwin14.tar.gz)

Can you download the file [https://github.com/bicycle1885/ZlibBuilder/releases/download/v1.0.4/Zlib.v1.2.11.x86\_64-apple-darwin14.tar.gz](https://github.com/bicycle1885/ZlibBuilder/releases/download/v1.0.4/Zlib.v1.2.11.x86_64-apple-darwin14.tar.gz)  
using a web browser or wget on the command line?

---

<div class="post-metadata">

**Author:** ![nickeubank](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nickeubank/32/3878_2.png) [@nickeubank](https://discourse.julialang.org/u/nickeubank)\
**Post date:** [March 16, 2019, 3:08pm UTC](https://discourse.julialang.org/t/issues-installing-a-range-of-packages/21894/8 "2019-03-16T15:08:25Z")

</div>

I can from a browser.

Great (should have been obvious?) suggestion to try from command line.

It appears I don’t have `wget`:

```julia
➜ Desktop wget https://github.com/bicycle1885/ZlibBuilder/releases/download/v1.0.4/Zlib.v1.2.11.x86_64-apple-darwin14.tar.gz
zsh: command not found: wget

```

And trying curl, I get this:

```julia
➜ Desktop curl https://github.com/bicycle1885/ZlibBuilder/releases/download/v1.0.4/Zlib.v1.2.11.x86_64-apple-darwin14.tar.gz
dyld: Library not loaded: @rpath/libssl.1.0.0.dylib
  Referenced from: /Users/Nick/anaconda/lib/libssh2.1.dylib
  Reason: image not found
[1] 8140 abort curl 

```

There’s a [SE post](https://unix.stackexchange.com/a/493116/342091) that suggests doing `conda install libssh2` will fix it… and …

SUCCESS!!! :)😁

THANK YOU ALL SO MUCH!

Hopefully no one else hits this. Looks like [this patch](https://github.com/JuliaLang/julia/issues/30956) will fix for others in the future, but this saved my sanity for now!
