I am trying to install Tensorflow on Centos 5. Unfortunately, after he installed it with pip, as explained in the white paper
sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl
I have the following error when I try to import shadoworflow into a python shell
ImportError: /home/users/caohao/.jumbo/lib/python2.7/site-packages/tensorflow/python/_pywrap_tensorflow.so: Invalid ELF OS ABI file
The following github question gave me an edge: https://github.com/tensorflow/tensorflow/issues/350
Actually, the tensor flow requires a glibc version of at least 2.17
When i type
ldd --version
I have the following output:
ldd (GNU libc) 2.5
So I need to update glibc. I would like to do a "parallel" installation, since updating glibc can be dangerous for my machine. So I downloaded the source and I use the command
../glibc-2.18/configure --prefix = / opt / glibc-2.18
to install it in another directory
The problem is that when you run configure
The following error occurs:
configure: error: assembler is too old, no .cfi_personality support
I think I need to update binutils as well, so I downloaded the sources and installed them in / opt / binutils -2.26 / so as not to damage the system.
However, I still have the same error when I try to configure glibc.
Here are my questions:
How can I indicate which version of binutils I want to use to build glibc?
EDIT: I have to have RTFM, the answer is using '--with-binutils = directory option
How can I do shadoworflow to find a good version of glibc when it is installed in / opt / glibc -2.18?
FYI I am using python 2.7.11
Many thanks and best wishes