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

libstdc++ in Julia is outdated compared to the system (Linux) one #35224

Closed
dav2017 opened this issue Mar 22, 2020 · 1 comment
Closed

libstdc++ in Julia is outdated compared to the system (Linux) one #35224

dav2017 opened this issue Mar 22, 2020 · 1 comment

Comments

@dav2017
Copy link

dav2017 commented Mar 22, 2020

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

My system: Manjaro Linux
Julia version: both 1.3.1 and 1.4.0

The error is the same described on Discourse here and can be temporarily solved in the same way.
The problem: libstdc++ coming with Julia is outdated compared to the system one.
A workaround is to copy (or link) the system libstdc++.so.6 to the Julia folder:
cp /usr/lib/x86_64-linux-gnu/libstdc++.so.6 $JULIA_HOME/lib/julia/

I recently experienced the problem using PyPlot, which resulted in the following error (I submitted the same issue here in PyPlot.jl):

ERROR: InitError: PyError (PyImport_ImportModule

The Python package matplotlib could not be found by pyimport. Usually this means
that you did not install matplotlib in the Python version being used by PyCall.
[...]
ImportError("/usr/local/julia-1.4.0/bin/../lib/julia/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /usr/lib/python3.8/site-packages/matplotlib/ft2font.cpython-38-x86_64-linux-gnu.so)")
@laborg
Copy link
Contributor

laborg commented Mar 23, 2020

I think this is a duplicate to: #34276
(I'll link the issue on discourse to make it more accessible)

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