Cairo shared library cannot be opened
kvas7andy opened this issue · 0 comments
kvas7andy commented
Dear authors and community,
During installation, came up to error after openning julia and executing using AutoEnvs
(following installation from install_env_gail_full.md
). The error traceback is following:
julia> using AutoEnvs
[ Info: Precompiling AutoEnvs [b0c92c82-45e2-5f35-82fd-3b99a2ee9dd8]
ERROR: LoadError: InitError: /home/akvasov/.julia/packages/Cairo/ZbzIH/deps/usr/lib/libcairo-gobject.so cannot be opened, Please re-run Pkg.build("Cairo"), and restart Julia.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] check_deps() at /home/akvasov/.julia/packages/Cairo/ZbzIH/deps/deps.jl:23
[3] __init__() at /home/akvasov/.julia/packages/Cairo/ZbzIH/src/Cairo.jl:16
[4] _include_from_serialized(::String, ::Array{Any,1}) at ./loading.jl:633
[5] _require_search_from_serialized(::Base.PkgId, ::String) at ./loading.jl:713
[6] _tryrequire_from_serialized(::Base.PkgId, ::UInt64, ::String) at ./loading.jl:648
[7] _require_search_from_serialized(::Base.PkgId, ::String) at ./loading.jl:702
[8] _tryrequire_from_serialized(::Base.PkgId, ::UInt64, ::String) at ./loading.jl:648
[9] _require_search_from_serialized(::Base.PkgId, ::String) at ./loading.jl:702
[10] _require(::Base.PkgId) at ./loading.jl:937
[11] require(::Base.PkgId) at ./loading.jl:858
[12] require(::Module, ::Symbol) at ./loading.jl:853
[13] include at ./boot.jl:326 [inlined]
[14] include_relative(::Module, ::String) at ./loading.jl:1038
[15] include(::Module, ::String) at ./sysimg.jl:29
[16] top-level scope at none:2
[17] eval at ./boot.jl:328 [inlined]
[18] eval(::Expr) at ./client.jl:404
[19] top-level scope at ./none:3
during initialization of module Cairo
in expression starting at /home/akvasov/repos/ngsim_env/julia/src/AutoEnvs.jl:4
ERROR: Failed to precompile AutoEnvs [b0c92c82-45e2-5f35-82fd-3b99a2ee9dd8] to /home/akvasov/.julia/compiled/v1.1/AutoEnvs/gVIxo.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1197
[3] _require(::Base.PkgId) at ./loading.jl:960
[4] require(::Base.PkgId) at ./loading.jl:858
[5] require(::Module, ::Symbol) at ./loading.jl:853
Although libcairo-gobject.so
exists and clearly has a+x access rights.
What is the problem of openning this shared file?