The script worked fine without any issues until yesterday. I am not sure why this happened. I am running the following versions of gcc and libstdc++ on CentOS
Code: Select all
>> rpm -qf /usr/lib/libstdc++.so.6
libstdc++-4.8.5-16.el7_4.1.i686
>> echo $LD_LIBRARY_PATH
/usr/local/lib64/:/usr/local/cuda-8.0/lib64:/usr/lib64/mpich/lib:/usr/local/cuda/lib64:/usr/local/cuda/extras/CUPTI/lib64
>> echo $LD_PRELOAD
blank output
>> hostnamectl
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-693.2.2.el7.x86_64
Architecture: x86-64
Some of the stackflow answers addressing this issue is related to Ubuntu system and not CentOS
I received the following error while importing tensorflow
Code: Select all
from google.protobuf import descriptor as _descriptor
File "/home/user_name/anaconda/envs/tokyo/lib/python3.6/site-packages/google/protobuf/descriptor.py", line 46, in <module>
from google.protobuf.pyext import _message
ImportError: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /home/username/anaconda/envs/env_name/lib/python3.6/site-packages/google/protobuf/pyext/_message.cpython-36m-x86_64-linux-gnu.so)
So I ran this code to check my libstdc++ version
Code: Select all
>> ls -l /usr/lib/libstdc++.so.6
lrwxrwxrwx. 1 root root 19 Feb 4 00:17 /usr/lib/libstdc++.so.6 -> libstdc++.so.6.0.19