Skip to content

Error building GridapGmsh at libTKBO dependence #66

Open
@principejavier

Description

@principejavier

The following error appears when building GridapGmsh in Gadi system with Julia 1.7.1:

julia> Pkg.build("GridapGmsh")
    Building MPI ───────→ `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/d56a80d8cf8b9dc3050116346b3d83432b1912c0/build.log`
    Building GridapGmsh → `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/e39f162f663655158e2dc132124e1cea45c3afb4/build.log`
ERROR: Error building `GridapGmsh`: 
ERROR: LoadError: InitError: could not load library "/home/552/jp3650/.julia/artifacts/8af9fbd0fecdc5f1c9124b629ab0ab160d2a06df/lib/libTKBO.so"
/apps/julia/1.7.1/bin/../lib/julia/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /home/552/jp3650/.julia/artifacts/8af9fbd0fecdc5f1c9124b629ab0ab160d2a06df/lib/libTKBO.so)
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:117
  [3] macro expansion
    @ ~/.julia/packages/JLLWrappers/QpMQW/src/products/library_generators.jl:54 [inlined]
  [4] __init__()
...

It seems to be common to other packages, e.g. PyPlot.jl, GAP.jl or GLFW.jl and rooted at Julia loading of libstdc++, aparently fixed recently in this PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions