I am trying to install tensorflow on a linux server where I am just a user without the root permission. And I cannot transfer files to/from it as I ssh to it through a jump
In my case it was centos 6 with python for pytorch.
I had errors like, etc.:
libraries: __vdso_time: invalid mode for dlopen(): Invalid argument
ImportError: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /home/evaldsu/.conda/envs/conda_env/lib/python3.6/site-
I installed alongside glibc-2.17 in local dir /opt/exp_soft/tools
then I installed in conda env patching tool (can install using other tools as well):
conda install -c conda-forge patchelf
then I patched binary of python to use different glibc path (you can do this with any binary). Be aware that it will change you python binary.
patchelf --set-rpath /opt/exp_soft/tools/glibc-2.17/lib:$HOME/.conda/envs/conda_inf/lib:/usr/lib64:/lib64:/lib --set-interpreter /opt/exp_soft/tools/glibc-2.17/lib/ld-linux-x86-64.so.2 /home/evaldsu/.conda/envs/conda_inf/bin/python3.6
Another option is just install this script if you have full admin access:
https://gist.github.com/harv/f86690fcad94f655906ee9e37c85b174