UCLOrengoGroup / cath-tools

Protein structure comparison tools such as SSAP and SNAP
http://cath-tools.readthedocs.io
GNU General Public License v3.0
57 stars 14 forks source link

[dependency: v14.2 onwards] {cath-superpose.ubuntu14.04} libstdc++.so.6: version `GLIBCXX_3.4.22' not found #42

Closed shouldsee closed 6 years ago

shouldsee commented 6 years ago

Hi there,

I am having some problem get "cath-resolve-hits.ubuntu14.04" to run on my ubuntu.

System: Ubuntu 16.04LTS apt version: apt 1.2.18 (amd64)

Running

./cath-resolve-hits.ubuntu14.04 

downloaded from versions newer than v0.14.2 raise an exception saying:

./cath-resolve-hits.ubuntu14.04: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by ./cath-resolve-hits.ubuntu14.04)

I tried update "libstdc++6" without useful results (along with, "libstdc++6-4.7-dev","libstdc++6-5-dbg")

sudo apt install libstdc++6
libstdc++6 is already the newest version (5.4.0-6ubuntu1~16.04.4).
libstdc++6-4.7-dev is already the newest version (4.7.4-3ubuntu12).
libstdc++6-5-dbg is already the newest version (5.4.0-6ubuntu1~16.04.4).

Although the legacy version from v0.14.1 works fine without this dependency, I am still wondering how I can install this dependency (for v0.14.2 onwards) on ubuntu quickly?

Kind regards Feng

tonyelewis commented 6 years ago

The short answer to solve your problem now is: use the .centos6 executable instead.

But thanks for flagging this issue. As you say, the .ubuntu14.04 builds don't work out-of-the-box on Ubuntu 16.04 for ≥ 0.14.2. They do all work on Ubuntu ≥ 16.10.

I suspect this is to do with my setup for the Travis build using a package repo that pulls in more recent libraries/compilers etc. I'll look into it a bit more...

shouldsee commented 6 years ago

@tonyelewis The centos6 version indeed worked. Many thanks!

tonyelewis commented 6 years ago

The Ubuntu builds should now work on Ubuntu ≥ 14.10 from v0.15.3 onwards.

@shouldsee, thanks for alerting me to this issue.

shouldsee commented 6 years ago

I have tested that cath-resolve-hits from v0.15.3 now works with my installation of Ubuntu16.04LTS.

@tonyelewis Thanks for the fix!

tonyelewis commented 6 years ago

@shouldsee thanks for testing.