You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I could use RCall previously, and when I updated to Julia 1.5 I tried to choose the musl version (and installed musl C lib in Ubuntu).
[I assume it works on Julia 1.5 non-musl version just as it does only Julia 1.6.]
I tried with or without LD_LIBRARY_PATH:
$ LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/blas/libblas.so.3 ~/julia-1.5.0/bin/julia
julia> Pkg.build("RCall")
Building Conda → `~/.julia/packages/Conda/3rPhK/deps/build.log`
Building RCall → `~/.julia/packages/RCall/Qzssx/deps/build.log`
┌ Error: Error building `RCall`:
│ ERROR: could not load library "/usr/lib/R/lib/libR.so"
│ Error loading shared library libblas.so.3: No such file or directory (needed by /usr/lib/R/lib/libR.so)
│ ERROR: LoadError: Try adding /usr/lib/R/lib to the "LD_LIBRARY_PATH" environmental variable and restarting Julia.
│ Stacktrace:
│ [1] error at ./error.jl:33
│ [2] validate_libR(::String) at /home/pharaldsson_sym/.julia/packages/RCall/Qzssx/deps/setup.jl:26
│ [3] locate_libR(::SubString{String}) at /home/pharaldsson_sym/.julia/packages/RCall/Qzssx/deps/setup.jl:43
│ [4] top-level scope at /home/pharaldsson_sym/.julia/packages/RCall/Qzssx/deps/build.jl:53
│ [5] include(::String) at ./client.jl:457
│ [6] top-level scope at none:5
│ in expression starting at /home/pharaldsson_sym/.julia/packages/RCall/Qzssx/deps/build.jl:11
│ caused by [exception 1]
│ could not load library "/usr/lib/R/lib/libR.so"
│ Error loading shared library libblas.so.3: No such file or directory (needed by /usr/lib/R/lib/libR.so)
│ Stacktrace:
│ [1] #dlopen#3 at /buildworker/worker/package_musl64/build/usr/share/julia/stdlib/v1.5/Libdl/src/Libdl.jl:109
│ [2] dlopen at /buildworker/worker/package_musl64/build/usr/share/julia/stdlib/v1.5/Libdl/src/Libdl.jl:109 [inlined] (repeats 2 times)
│ [3] validate_libR(::String) at /home/pharaldsson_sym/.julia/packages/RCall/Qzssx/deps/setup.jl:16
│ [4] locate_libR(::SubString{String}) at /home/pharaldsson_sym/.julia/packages/RCall/Qzssx/deps/setup.jl:43
│ [5] top-level scope at /home/pharaldsson_sym/.julia/packages/RCall/Qzssx/deps/build.jl:53
│ [6] include(::String) at ./client.jl:457
│ [7] top-level scope at none:5
└ @ Pkg.Operations /buildworker/worker/package_musl64/build/usr/share/julia/stdlib/v1.5/Pkg/src/Operations.jl:942
For some other packages for something similar to below I got errors, but I recall seeing musl in them, unlike for below (but like above):
I also get en error for below (and similar for Alpaca.jl that has RCall dependency):
julia> @time using RCall
[ Info: Precompiling RCall [6f49c342-dc21-5d91-9882-a32aef131414]
ERROR: LoadError: LoadError: InitError: could not load library "libRmath-julia.so"
Error loading shared library libRmath-julia.so: No such file or directory
Stacktrace:
[1] __init__() at /home/pharaldsson_sym/.julia/packages/Rmath/lo1Ao/src/Rmath.jl:37
[2] _include_from_serialized at ./loading.jl:697
[3] _require_search_from_serialized at ./loading.jl:782
[4] _require at ./loading.jl:1007
[5] require at ./loading.jl:928
[6] require at ./loading.jl:923
[7] include at ./Base.jl:380
[8] include at ./Base.jl:368 [inlined]
[9] include(::String) at /home/pharaldsson_sym/.julia/packages/StatsFuns/CXyCV/src/StatsFuns.jl:3
[10] top-level scope at /home/pharaldsson_sym/.julia/packages/StatsFuns/CXyCV/src/StatsFuns.jl:241
[11] include at ./Base.jl:380
[12] include at ./Base.jl:368
[13] top-level scope at none:2
[14] eval at ./boot.jl:331 [inlined]
[15] eval(::Expr) at ./client.jl:467
[16] top-level scope at ./none:3
during initialization of module Rmath
in expression starting at /home/pharaldsson_sym/.julia/packages/StatsFuns/CXyCV/src/rmath.jl:5
in expression starting at /home/pharaldsson_sym/.julia/packages/StatsFuns/CXyCV/src/StatsFuns.jl:241
ERROR: LoadError: Failed to precompile StatsFuns [4c63d2b9-4356-54db-8cca-17b64c39e42c] to /home/pharaldsson_sym/.julia/compiled/v1.5/StatsFuns/530lR_glT1O.ji.
Stacktrace:
[1] error at ./error.jl:33
[..]
The text was updated successfully, but these errors were encountered:
I could use RCall previously, and when I updated to Julia 1.5 I tried to choose the musl version (and installed musl C lib in Ubuntu).
[I assume it works on Julia 1.5 non-musl version just as it does only Julia 1.6.]
I tried with or without LD_LIBRARY_PATH:
For some other packages for something similar to below I got errors, but I recall seeing musl in them, unlike for below (but like above):
I also get en error for below (and similar for Alpaca.jl that has RCall dependency):
The text was updated successfully, but these errors were encountered: