Skip to content

libstdc++.so.6: version `GLIBCXX_3.4.20' not found #483

@astrojuanlu

Description

@astrojuanlu

I have been testing the latest gcc package from Anaconda which should fix several portability issues (conda-archive/conda-recipes#279, thanks to @stuarteberg) for building my conda recipes for FEniCS. However, I am having some problems (at least on Arch Linux and Ubuntu 14.04) where some library calls fail with this error:

libstdc++.so.6: version GLIBCXX_3.4.20' not found`

Which happens because Anaconda libstdc++.so.6 is a bit too old:

$ strings ~/.miniconda3/envs/fenics_test/lib/libstdc++.so.6 | grep GLIBCXX
LIBCXX
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBCXX_FORCE_NEW

(see for instance astrojuanlu/fenics-recipes#35 and astrojuanlu/fenics-recipes#36)

Is there a way to have a newer version of the library coming with conda? cc @ccordoba12

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions