Installation issues involving libraries always stump me; hoping someone can help. I have always installed Mothur using either Mothur.linux.zip or Mothur.linux_noReadline.zip, so I tried the same again. I have two machines. Here’s the info, my steps, and errors I get for each:
Machine 1
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-1160.11.1.el7.x86_64
Architecture: x86-64
Tried installing: Mothur.linux.zip
Error:
mothur: error while loading shared libraries: libreadline.so.7: cannot open shared object file: No such file or directory
Tried installing: Mothur.linux_noReadline.zip
Errors:
mothur: /lib64/libm.so.6: version GLIBC_2.27' not found (required by mothur) mothur: /lib64/libm.so.6: version
GLIBC_2.23’ not found (required by mothur)
mothur: /lib64/libstdc++.so.6: version GLIBCXX_3.4.20' not found (required by mothur) mothur: /lib64/libstdc++.so.6: version
CXXABI_1.3.8’ not found (required by mothur)
mothur: /lib64/libstdc++.so.6: version CXXABI_1.3.9' not found (required by mothur) mothur: /lib64/libstdc++.so.6: version
GLIBCXX_3.4.22’ not found (required by mothur)
mothur: /lib64/libstdc++.so.6: version GLIBCXX_3.4.21' not found (required by mothur) mothur: /lib64/libc.so.6: version
GLIBC_2.28’ not found (required by mothur)
Machine 2
Description: Ubuntu 18.04.5 LTS
Release: 18.04
Codename: bionic
Tried installing: Mothur.Ubuntu_20.zip
Error:
mothur: /lib/x86_64-linux-gnu/libm.so.6: version GLIBC_2.29' not found (required by mothur) mothur: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
GLIBCXX_3.4.26’ not found (required by mothur)
mothur: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28’ not found (required by mothur)
Tried installing: Mothur.linux.zip
Error:
mothur: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28’ not found (required by mothur)
Tried installing: Mothur.linux_noReadline.zip
Error:
mothur: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28’ not found (required by mothur)
So, what is it that I need to do here? I can’t update either system; both are managed by my workplace. But I have Ubuntu 20 on a personal machine so I could potentially try that. I could try building from source, but I’ve never had to build Mothur from source so I wanted to inquire here for some help before I jump down any rabbitholes.
Thanks!