JuliaLang / MbedTLS.jl

Wrapper around mbedtls
Other
41 stars 50 forks source link

Build error in macOs Mojave 10.14.3 #201

Closed asavasci closed 5 years ago

asavasci commented 5 years ago

I am not able to use Ijulia because of the MbedTLS build error, I tried many time with different Julia versions but the issue is same. I do not know how to resolve it. Please help what to do.

On windows 10, it's working without issue.

(v1.0) 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/alpersavasci/.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/alpersavasci/.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/alpersavasci/.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/alpersavasci/.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/alpersavasci/.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/alpersavasci/.julia/packages/MbedTLS/X4xar/deps/build.jl:48 │ [9] include at ./boot.jl:317 [inlined] │ [10] include_relative(::Module, ::String) at ./loading.jl:1044 │ [11] include(::Module, ::String) at ./sysimg.jl:29 │ [12] include(::String) at ./client.jl:392 │ [13] top-level scope at none:0 │ in expression starting at /Users/alpersavasci/.julia/packages/MbedTLS/X4xar/deps/build.jl:44 │ [10:01:02] dyld: Library not loaded: @rpath/libssl.1.0.0.dylib │ [10:01:02] Referenced from: /anaconda3/lib/libssh2.1.dylib │ [10:01:02] Reason: image not found └ @ Pkg.Operations /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:1097

asavasci commented 5 years ago

after updating anaconda it is resolved