version `CXXABI_1.3.9' not found

Issues related to applications and software problems
Post Reply
Posts: 1
Joined: 2018/02/16 19:17:18 version `CXXABI_1.3.9' not found

Post by Lannister » 2018/02/16 19:24:06

I am running a python script using PyCharm on CentOS 7. The script imports tensorflow and allocates some potion of GPU memory to the script.

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/


>> 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
I have libgcc 7.2.0 version in my anaconda environment.

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/", line 46, in <module>
    from google.protobuf.pyext import _message
ImportError: /lib64/ version `CXXABI_1.3.9' not found (required by /home/username/anaconda/envs/env_name/lib/python3.6/site-packages/google/protobuf/pyext/
I went through this link to find out the the correct version of libstdc for `CXXABI_1.3.9' and the requirement is

So I ran this code to check my libstdc++ version

Code: Select all

>> ls -l  /usr/lib/
lrwxrwxrwx. 1 root root 19 Feb  4 00:17 /usr/lib/ ->
How can I (or should I even) update my libstdc to 6.0.21 to run tensorflow code on my centos system
Last edited by Lannister on 2018/02/18 22:08:27, edited 1 time in total.

User avatar
Forum Moderator
Posts: 30560
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: version `CXXABI_1.3.9' not found

Post by TrevorH » 2018/02/17 12:45:25

ImportError: /lib64/ version `CXXABI_1.3.9' not found (required by /home/rmulpuri/anaconda/envs/tokyo/lib/python3.6/site-packages/google/protobuf/pyext/
Your problem is that that file is not built to run on CentOS. You need to rebuild it or download a different copy that isn't linked against a newer glibc than we ship. Do not attempt to shoehorn a newer libc onto your system or everything else will break. It is the app that needs fixing.
CentOS 6 died in November 2020 - migrate to a new version!
Info for USB installs on
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

Posts: 936
Joined: 2017/02/22 15:08:17

Re: version `CXXABI_1.3.9' not found

Post by tunk » 2018/02/17 13:40:27

Probably barking up the wrong tree: You're checking for the 32 bit version of the library, whereas it looks like your software is 64 bit?
Check and maybe reinstall the 64 bit version? Also, given that it worked up to yesterday, either the OS, setup or software must have changed?

Post Reply

Return to “CentOS 7 - Software Support”