ImportError: libgthread-2.0.so.0 cannot open shared object file
symgryph opened this issue · 2 comments
I am attempting to run this on Centos 7.5, and get this error when compiling from source after successful install. I am running python 3.7.
Thomas
Sorry about the delay. Can you run gpgsync
this from the terminal and copy and paste the full error message? I'll get a CentOS 7.5 VM running so I can reproduce it.
I'm not the most experienced with CentOS, but I got it working like this. First, I had to make sure the development group was installed:
sudo yum -y groupinstall development
Now install the fedora dependencies listed in BUILD.md:
sudo yum -y install rpm-build python3-qt5 python3-requests python3-nose python3-packaging python3-dateutil gnupg2
Only, you'll notice that several of the packages don't exist in the CentOS default repo.
GPG Sync requires python3, so you need to add the Inline with Upstream Stable repo to get it:
sudo yum -y install https://centos7.iuscommunity.org/ius-release.rpm
sudo yum -y install python36u python36u-pip
The binaries are called python3.6
and pip3.6
. The pip one is fine, but let's make a python3
symlink:
sudo ln -s /usr/bin/python3.6 /usr/local/bin/python3
Now install the pip dependencies (I hit an error installing them without sudo, but you can probably get it working if you try enough):
sudo pip3.6 install -r requirements.txt
Now I can run it:
./dev_scripts/gpgsync --debug