360monodepth icon indicating copy to clipboard operation
360monodepth copied to clipboard

`GLIBC_2.34' not found

Open yt-koike opened this issue 2 months ago • 0 comments

There was an error occured when I use Dockerfile. I think installing OpenCV would solve this.

Apptainer> python3 main.py --expname test_experiment --blending_method all --grid_size 8x7
Adding '/home/users/grad/2024/24t0009/360monodepth/monodepth/code/python/src' to sys.path
Traceback (most recent call last):
  File "main.py", line 15, in <module>
    from utility import depthmap_align, image_io
  File "/home/users/grad/2024/24t0009/360monodepth/monodepth/code/python/src/utility/depthmap_align.py", line 1, in <module>
    import cv2
  File "/usr/local/lib/python3.8/dist-packages/cv2/__init__.py", line 181, in <module>
    bootstrap()
  File "/usr/local/lib/python3.8/dist-packages/cv2/__init__.py", line 153, in bootstrap
    native_module = importlib.import_module("cv2")
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
ImportError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /.singularity.d/libs/libGLX.so.0)
Apptainer> python3 main.py --expname test_experiment --blending_method all --grid_size 8x7
Adding '/home/users/grad/2024/24t0009/360monodepth/monodepth/code/python/src' to sys.path
Traceback (most recent call last):
  File "main.py", line 15, in <module>
    from utility import depthmap_align, image_io
  File "/home/users/grad/2024/24t0009/360monodepth/monodepth/code/python/src/utility/depthmap_align.py", line 1, in <module>
    import cv2
  File "/usr/local/lib/python3.8/dist-packages/cv2/__init__.py", line 181, in <module>
    bootstrap()
  File "/usr/local/lib/python3.8/dist-packages/cv2/__init__.py", line 153, in bootstrap
    native_module = importlib.import_module("cv2")
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
ImportError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /.singularity.d/libs/libGLX.so.0)

yt-koike avatar Oct 13 '25 06:10 yt-koike