Open
Description
In case you get an error like this
OSError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by /PATH/TO/julia-1.0.2/bin/../lib/julia/libLLVM-6.0.so)
when using PyJulia via Jupyter (ipykernel), you can workaround the issue by using the LD_PRELOAD
trick. For example, edit your ~/.local/share/jupyter/kernels/*/kernel.json
like this:
--- a/kernel.json
+++ b/kernel.json
@@ -1,7 +1,5 @@
{
"argv": [
+ "env",
+ "LD_PRELOAD=/PATH/TO/julia-1.0.2/lib/julia/libstdc++.so.6",
"/usr/bin/python",
"-m",
"ipykernel_launcher",
Maybe it's better to have a helper command for executing a subprocess with appropriate LD_PRELOAD
(or LD_LIBRARY_PATH
)?
Metadata
Metadata
Assignees
Labels
No labels