-
Notifications
You must be signed in to change notification settings - Fork 15
Description
I tryed to install CoolProp following this steps:
Julia> Pkg.clone("https://github.com/vimalaad/CoolProp.jl.git")
%with the following message:
┌ Warning: Pkg.clone is only kept for legacy CI script reasons, please use add
└ @ Pkg.API ~/julia/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:460
Updating registry at ~/.julia/registries/General
Updating git-repo https://github.com/JuliaRegistries/General.git
Updating git-repo https://github.com/vimalaad/CoolProp.jl.git
[ Info: Assigning UUID e084ae63-2819-5025-826e-f8e611a84251 to CoolProp
[ Info: Path /home/prado/.julia/dev/CoolProp exists and looks like the correct package, using existing path instead of cloning
Resolving package versions...
Updating ~/.julia/environments/v1.1/Project.toml
[no changes]
Updating ~/.julia/environments/v1.1/Manifest.toml
Then I tried:
Julia> Pkg.Build("CoolProp")
%with the following message:
Building CoolProp → ~/.julia/dev/CoolProp/deps/build.log
Resolving package versions...
┌ Error: Error building CoolProp:
│ ERROR: LoadError: ArgumentError: isdefined: too few arguments (expected 2)
│ Stacktrace:
│ [1] top-level scope at /home/prado/.julia/dev/CoolProp/deps/build.jl:6
│ [2] include at ./boot.jl:317 [inlined]
│ [3] include_relative(::Module, ::String) at ./loading.jl:1041
│ [4] include(::Module, ::String) at ./sysimg.jl:29
│ [5] include(::String) at ./client.jl:388
│ [6] top-level scope at none:0
│ in expression starting at /home/prado/.julia/dev/CoolProp/deps/build.jl:5
I also tried add CoolProp directly using Pkg:
Julia> Pkg.add("CoolProp")
%with the following message:
Resolving package versions...
Updating ~/.julia/environments/v1.1/Project.toml
[no changes]
Updating ~/.julia/environments/v1.1/Manifest.toml
Then I tried:
Julia> using CoolProp
%with the following message:
[ Info: Precompiling CoolProp [e084ae63-2819-5025-826e-f8e611a84251]
ERROR: LoadError: UndefVarError: Libdl not defined
Stacktrace:
[1] top-level scope at none:0
[2] include at ./boot.jl:317 [inlined]
[3] include_relative(::Module, ::String) at ./loading.jl:1041
[4] include(::Module, ::String) at ./sysimg.jl:29
[5] top-level scope at none:2
[6] eval at ./boot.jl:319 [inlined]
[7] eval(::Expr) at ./client.jl:389
[8] top-level scope at ./none:3
in expression starting at /home/prado/.julia/dev/CoolProp/src/CoolProp.jl:1
ERROR: Failed to precompile CoolProp [e084ae63-2819-5025-826e-f8e611a84251] to /home/prado/.julia/compiled/v1.1/CoolProp/TgXq7.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] macro expansion at ./logging.jl:313 [inlined]
[3] compilecache(::Base.PkgId, ::String) at ./loading.jl:1187
[4] macro expansion at ./logging.jl:311 [inlined]
[5] _require(::Base.PkgId) at ./loading.jl:944
[6] require(::Base.PkgId) at ./loading.jl:855
[7] macro expansion at ./logging.jl:311 [inlined]
[8] require(::Module, ::Symbol) at ./loading.jl:837