olynch / scientific-fhs

A nixos FHS for julia and conda, and possibly other scientific tools
44 stars 14 forks source link

PyCall missing GLIBCXX_3.4.30 #7

Open joshniemela opened 2 years ago

joshniemela commented 2 years ago

I'm trying to run pycall through this FHS and it seems to be missing some sort of dependency

ERROR: PyError ($(Expr(:escape, :(ccall(#= /home/josh/.julia/packages/PyCall/ygXW2/src/pyeval.jl:38 =# @pysym(:PyEval_EvalCode), PyPtr, (PyPtr, PyPtr, PyPtr), o, globals, locals))))) <class 'ImportError'>
ImportError("/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /home/josh/.julia/conda/3/lib/python3.10/site-packages/grpc/_cython/cygrpc.cpython-310-x86_64-linux-gnu.so)")
  File "/home/josh/.julia/packages/PyCall/ygXW2/src/pyeval.jl", line 1, in <module>
    const Py_single_input = 256  # from Python.h
  File "/home/josh/.julia/conda/3/lib/python3.10/site-packages/google/cloud/vision/__init__.py", line 18, in <module>
    from google.cloud.vision_v1.services.image_annotator.async_client import (
  File "/home/josh/.julia/conda/3/lib/python3.10/site-packages/google/cloud/vision_v1/__init__.py", line 20, in <module>
    from .services.image_annotator import ImageAnnotatorClient as IacImageAnnotatorClient
  File "/home/josh/.julia/conda/3/lib/python3.10/site-packages/google/cloud/vision_v1/services/image_annotator/__init__.py", line 16, in <module>
    from .client import ImageAnnotatorClient
  File "/home/josh/.julia/conda/3/lib/python3.10/site-packages/google/cloud/vision_v1/services/image_annotator/client.py", line 24, in <module>
    from google.api_core import gapic_v1
  File "/home/josh/.julia/conda/3/lib/python3.10/site-packages/google/api_core/gapic_v1/__init__.py", line 16, in <module>
    from google.api_core.gapic_v1 import config
  File "/home/josh/.julia/conda/3/lib/python3.10/site-packages/google/api_core/gapic_v1/config.py", line 23, in <module>
    import grpc
  File "/home/josh/.julia/conda/3/lib/python3.10/site-packages/grpc/__init__.py", line 22, in <module>
    from grpc import _compression
  File "/home/josh/.julia/conda/3/lib/python3.10/site-packages/grpc/_compression.py", line 15, in <module>
    from grpc._cython import cygrpc
olynch commented 1 year ago

I don't use PyCall so I don't really have a reason to debug this; I'm happy to accept a PR if you send one.