pynvvl icon indicating copy to clipboard operation
pynvvl copied to clipboard

version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference

Open lalazari opened this issue 6 years ago • 4 comments

Hi,

Thanks for providing this python wrapper for nvvl.

When I am trying to import pynvvl in python, I am facing the following error:

File "", line 1, in File "pynvvl/init.py", line 1, in from _nvvl import NVVLVideoLoader # NOQA ImportError: /venv_v2/lib/python2.7/site-packages/pynvvl/_lib/libnvvl.so: symbol _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_appendEPKcm, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference

Any thoughts about this issue?

Thank you

lalazari avatar May 22 '18 15:05 lalazari

Could you provide the information about your environment as precisely as possible? And how did you install pynvvl?

mitmul avatar May 22 '18 15:05 mitmul

I am installing pynvvl using pip install pynvvl-cuda80 .

System: Ubuntu 14.04 LTS Nvidia drivers : 384.130 CUDA: 8.0 gcc: 4.8.5 Python 2.7.6 libstdc++6 installed

I've tried with different gcc versions but without any results.

lalazari avatar May 22 '18 15:05 lalazari

Could you provide a Dockerfile to reproduce the error? Actually Ubuntu 14.04 is not included in the tested environment as I wrote in the README. Did you try GCC 5.4.0?

mitmul avatar May 22 '18 15:05 mitmul

According to https://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html

GCC 4.8.0: libstdc++.so.6.0.18 GCC 4.8.3: libstdc++.so.6.0.19 GCC 4.9.0: libstdc++.so.6.0.20 GCC 5.1.0: libstdc++.so.6.0.21 GCC 6.1.0: libstdc++.so.6.0.22

So at least gcc 5.1.0 is required.

Maslino avatar Sep 28 '18 10:09 Maslino