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

Freshly installed Cairo 1.0.5 (or #master) errors because of "undefined symbol: pango_coverage_get_type" #348

Closed
henriquebecker91 opened this issue Nov 20, 2021 · 1 comment

Comments

@henriquebecker91
Copy link

The error message follows. I am using Julia 1.5.4 in Jupyter.

   Updating registry at `~/.julia/registries/General`
  Resolving package versions...
Updating `~/AreaDeTrabalho/ArtigoBellaJulia/Project.toml`
  [159f3aea] ~ Cairo v1.0.5 ⇒ v1.0.5 `https://github.com/JuliaGraphics/Cairo.jl.git#master`
Updating `~/AreaDeTrabalho/ArtigoBellaJulia/Manifest.toml`
  [159f3aea] ~ Cairo v1.0.5 ⇒ v1.0.5 `https://github.com/JuliaGraphics/Cairo.jl.git#master`
┌ Info: Precompiling Cairo [159f3aea-2a34-519c-b102-8c37f9878175]
└ @ Base loading.jl:1278
ERROR: LoadError: InitError: could not load library "/home/henrique/.julia/artifacts/079e2f87254bb2465a44de255cd5dde50d4d0b62/lib/libpangocairo-1.0.so"
/usr/lib/libpangoft2-1.0.so.0: undefined symbol: pango_coverage_get_type
Stacktrace:
 [1] dlopen(::String, ::UInt32; throw_error::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Libdl/src/Libdl.jl:109
 [2] dlopen(::String, ::UInt32) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Libdl/src/Libdl.jl:109
 [3] __init__() at /home/henrique/.julia/packages/JLLWrappers/bkwIo/src/products/library_generators.jl:54
 [4] __init__() at /home/henrique/.julia/packages/Pango_jll/XQBSg/src/wrappers/x86_64-linux-gnu.jl:22
 [5] _include_from_serialized(::String, ::Array{Any,1}) at ./loading.jl:697
 [6] _require_search_from_serialized(::Base.PkgId, ::String) at ./loading.jl:782
 [7] _require(::Base.PkgId) at ./loading.jl:1007
 [8] require(::Base.PkgId) at ./loading.jl:928
 [9] require(::Module, ::Symbol) at ./loading.jl:923
 [10] include(::Function, ::Module, ::String) at ./Base.jl:380
 [11] include(::Module, ::String) at ./Base.jl:368
 [12] top-level scope at none:2
 [13] eval(::Module, ::Any) at ./boot.jl:347
 [14] eval(::Expr) at client.jl:467
 [15] top-level scope at none:3
during initialization of module Pango_jll
in expression starting at /home/henrique/.julia/packages/Cairo/jtYPw/src/Cairo.jl:8
@giordano
Copy link
Contributor

The problem is already explained in the error message:

/usr/lib/libpangoft2-1.0.so

you're loading a system library, instead of one from the artifacts. Why that's happening, I don't know. For example you're setting LD_LIBRARY_PATH, or loading python packages which are pulling external libraries. In any case, nothing to do with this package

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

No branches or pull requests

3 participants