-
Notifications
You must be signed in to change notification settings - Fork 188
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++.so.6: version `GLIBCXX_3.4.30' not found #999
Comments
I've been having the same issue, my workaround for now has been to set the
This is a bit inconvenient since I have to always run Julia through a separate bash script whenever I want to start it for this project, and I have to do the same thing if I want to run a Julia Jupyter notebook. The correct behaviour could be set as default within a project if there was a way to save project-specific permanent environment variables (e.g. running |
Same issue for me with some While the above solution of preloading the more recent library works as a local fix, it is no solution if these imports are part of a published package. You can't expect every user to check for this. Since conda should already provide a consistent environment in terms of binary libs, the choice to link conda packages to Julia binaries does not seem helpful to me and I would also like to know if there are technical reasons for this behavior. EDIT: ...but given that this isn't the first time this has happened it seems like there is not much that can be done about it. I suppose you just can't have the same library loaded twice. |
Welcome to dependency hell: the operating system does not let you load two versions of the As far as I know, the the only solutions here are (1) recompile Julia to use the same C++ compiler as the Python library, or (2) recompile Scipy to use the same C++ compiler as Julia, or (3) use the |
I'm encountering an issue where:
ldd libcasa_casa.so
shows that casa is correctly linked to the Conda version of libc.~/.julia/3/bin/python
) andimport casacore.tables
it works fine.BUT, when I
pyimport("casacore.tables")
I get the following error:It looks like to me that when run in the context of Julia, the
pyimport
statement wants to preferentially link against the Julia supplied libc, and not the Conda supplied libc. Moreover, the Julia supplied libc is at version 3.4.29.Is this choice to link against the Julia libc a deliberate choice? If so, how to we mitigate this kind of issue happening each time Conda and Julia libc versions aren't aligned?
The text was updated successfully, but these errors were encountered: