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

Error Calling julia from R #204

Closed
nataliemyers12 opened this issue Jul 3, 2023 · 1 comment
Closed

Error Calling julia from R #204

nataliemyers12 opened this issue Jul 3, 2023 · 1 comment

Comments

@nataliemyers12
Copy link

Hi,

I have successfully run Julia Setup in R, but when I go to actually use Julia in R, I receive this error. I've tried a variety of steps to fix this, but have not been successful. Could anyone provide insight? I am using R 4.3.0 and Julia 1.8.5

Error: Error happens in Julia.
InitError: could not load library "/home/thomsonlab/.julia/artifacts/e4afa6442d82c9e3819067808b91aa8308d90db6/lib/libgeotiff.so"
libproj.so.25: cannot open shared object file: No such file or directory

Full:

jl.inputs<- jl.prep(n.Pops=NROW(plhon),CS_Point.File=plhonsp,response=lower(as.matrix(gen.dist)),cholmod = TRUE, JULIA_HOME = JULIA_HOME)
Error: Error happens in Julia.
InitError: could not load library "/home/thomsonlab/.julia/artifacts/e4afa6442d82c9e3819067808b91aa8308d90db6/lib/libgeotiff.so"
libproj.so.25: cannot open shared object file: No such file or directory
Stacktrace:
[1] dlopen(s::String, flags::UInt32; throw_error::Bool)
@ Base.Libc.Libdl ./libdl.jl:117
[2] dlopen(s::String, flags::UInt32)
@ Base.Libc.Libdl ./libdl.jl:116
[3] macro expansion
@ ~/.julia/packages/JLLWrappers/QpMQW/src/products/library_generators.jl:54 [inlined]
[4] init()
@ libgeotiff_jll ~/.julia/packages/libgeotiff_jll/EG4x2/src/wrappers/x86_64-linux-gnu.jl:15
[5] _include_from_serialized(pkg::Base.PkgId, path::String, depmods::Vector{Any})
@ Base ./loading.jl:831
[6] _tryrequire_from_serialized(modkey::Base.PkgId, path::String, sourcepath::String, depmods::Vector{Any})
@ Base ./loading.jl:938
[7] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt64)
@ Base ./loa

@ViralBShah
Copy link
Contributor

Please reopen if still an issue (or file a new one).

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

No branches or pull requests

2 participants