Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

curl error when building #137

Closed
Djoop opened this issue Oct 27, 2019 · 0 comments · Fixed by #145
Closed

curl error when building #137

Djoop opened this issue Oct 27, 2019 · 0 comments · Fixed by #145

Comments

@Djoop
Copy link

Djoop commented Oct 27, 2019

I cannot install NLopt, looks like the error comes from curl. It resolves to /usr/bin/curl, not sure what can be done as a workaround? I get the same error on #master.

(v1.2) pkg> add NLopt
 Resolving package versions...
 Installed NLopt ─ v0.5.1
  Updating `~/.julia/environments/v1.2/Project.toml`
  [76087f3c] + NLopt v0.5.1
  Updating `~/.julia/environments/v1.2/Manifest.toml`
  [76087f3c] + NLopt v0.5.1
  Building NLopt → `~/.julia/packages/NLopt/eqN9a/deps/build.log`
┌ Error: Error building `NLopt`: 
│ ┌ Warning: platform_key() is deprecated, use platform_key_abi() from now on
│ │   caller = ip:0x0
│ └ @ Core :-1
│ [ Info: Downloading https://github.com/stevengj/NLoptBuilder/releases/download/v2.5.0/NLopt.v2.5.0.x86_64-linux-gnu.tar.gz to /home/username/.julia/packages/NLopt/eqN9a/deps/usr/downloads/NLopt.v2.5.0.x86_64-linux-gnu.tar.gz...
│ ERROR: LoadError: Could not download https://github.com/stevengj/NLoptBuilder/releases/download/v2.5.0/NLopt.v2.5.0.x86_64-linux-gnu.tar.gz to /home/username/.julia/packages/NLopt/eqN9a/deps/usr/downloads/NLopt.v2.5.0.x86_64-linux-gnu.tar.gz:
│ ErrorException("")
│ Stacktrace:
│  [1] error(::String) at ./error.jl:33
│  [2] #download#89(::Bool, ::typeof(BinaryProvider.download), ::String, ::String) at /home/username/.julia/packages/BinaryProvider/gnxnM/src/PlatformEngines.jl:502
│  [3] #download at ./none:0 [inlined]
│  [4] #download_verify#90(::Bool, ::Bool, ::Bool, ::typeof(download_verify), ::String, ::String, ::String) at /home/username/.julia/packages/BinaryProvider/gnxnM/src/PlatformEngines.jl:571
│  [5] #download_verify at ./tuple.jl:0 [inlined]
│  [6] #install#129(::Prefix, ::String, ::Bool, ::Bool, ::Bool, ::typeof(install), ::String, ::String) at /home/username/.julia/packages/BinaryProvider/gnxnM/src/Prefix.jl:314
│  [7] (::getfield(BinaryProvider, Symbol("#kw##install")))(::NamedTuple{(:prefix, :force, :verbose),Tuple{Prefix,Bool,Bool}}, ::typeof(install), ::String, ::String) at ./tuple.jl:0
│  [8] top-level scope at /home/username/.julia/packages/NLopt/eqN9a/deps/build.jl:45
│  [9] include at ./boot.jl:328 [inlined]
│  [10] include_relative(::Module, ::String) at ./loading.jl:1094
│  [11] include(::Module, ::String) at ./Base.jl:31
│  [12] include(::String) at ./client.jl:431
│  [13] top-level scope at none:5
│ in expression starting at /home/username/.julia/packages/NLopt/eqN9a/deps/build.jl:41
│ caused by [exception 1]
│ 
│ Stacktrace:
│  [1] error() at ./error.jl:42
│  [2] #download#89(::Bool, ::typeof(BinaryProvider.download), ::String, ::String) at /home/username/.julia/packages/BinaryProvider/gnxnM/src/PlatformEngines.jl:496
│  [3] #download at ./none:0 [inlined]
│  [4] #download_verify#90(::Bool, ::Bool, ::Bool, ::typeof(download_verify), ::String, ::String, ::String) at /home/username/.julia/packages/BinaryProvider/gnxnM/src/PlatformEngines.jl:571
│  [5] #download_verify at ./tuple.jl:0 [inlined]
│  [6] #install#129(::Prefix, ::String, ::Bool, ::Bool, ::Bool, ::typeof(install), ::String, ::String) at /home/username/.julia/packages/BinaryProvider/gnxnM/src/Prefix.jl:314
│  [7] (::getfield(BinaryProvider, Symbol("#kw##install")))(::NamedTuple{(:prefix, :force, :verbose),Tuple{Prefix,Bool,Bool}}, ::typeof(install), ::String, ::String) at ./tuple.jl:0
│  [8] top-level scope at /home/username/.julia/packages/NLopt/eqN9a/deps/build.jl:45
│  [9] include at ./boot.jl:328 [inlined]
│  [10] include_relative(::Module, ::String) at ./loading.jl:1094
│  [11] include(::Module, ::String) at ./Base.jl:31
│  [12] include(::String) at ./client.jl:431
│  [13] top-level scope at none:5
│ [19:07:00] curl: symbol lookup error: curl: undefined symbol: curl_url_cleanup
└ @ Pkg.Operations /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.2/Pkg/src/backwards_compatible_isolation.jl:647

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

Successfully merging a pull request may close this issue.

1 participant