pemsley / coot

Software for macromolecular model-building
http://www2.mrc-lmb.cam.ac.uk/personal/pemsley/coot/
GNU General Public License v3.0
122 stars 48 forks source link

Installing Coot failed on Ubuntu 22.04LTS #143

Closed hnguyentt closed 4 months ago

hnguyentt commented 4 months ago

Dear team,

I followed your instruction (https://wiki.uni-konstanz.de/ccp4/index.php/Coot#Installing_Coot_on_Linux) to install Coot on Ubuntu 22.04LTS (6.5.0-41-generic). When I run coot I faced this problem:

/usr/local/src/coot-Linux-x86_64-scientific-linux-7.6-gtk2-python/libexec/coot-bin: /usr/local/src/coot-Linux-x86_64-scientific-linux-7.6-gtk2-python/lib/libssl.so.10: version `libssl.so.10' not found (required by /usr/local/src/coot-Linux-x86_64-scientific-linux-7.6-gtk2-python/lib/libcurl.so.4)
/usr/local/src/coot-Linux-x86_64-scientific-linux-7.6-gtk2-python/libexec/coot-bin: /usr/local/src/coot-Linux-x86_64-scientific-linux-7.6-gtk2-python/lib/libcrypto.so.10: version `libcrypto.so.10' not found (required by /usr/local/src/coot-Linux-x86_64-scientific-linux-7.6-gtk2-python/lib/libcurl.so.4)
. ------ Coot crashed - trying to diagnose -----
ldd -r on guile gives:
    linux-vdso.so.1 (0x00007fffef1fe000)
    libguile.so.17 => /usr/local/src/coot-Linux-x86_64-scientific-linux-7.6-gtk2-python/lib/libguile.so.17 (0x000070a153c00000)
    libgmp.so.10 => /usr/local/src/coot-Linux-x86_64-scientific-linux-7.6-gtk2-python/lib/libgmp.so.10 (0x000070a153800000)
    libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1 (0x000070a153f09000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x000070a153b19000)
    libltdl.so.3 => /usr/local/src/coot-Linux-x86_64-scientific-linux-7.6-gtk2-python/lib/libltdl.so.3 (0x000070a153400000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x000070a153f02000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x000070a153efd000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x000070a153000000)
    /lib64/ld-linux-x86-64.so.2 (0x000070a153f5e000)
Guile 1.8.8
Copyright (c) 1995, 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
Guile may be distributed under the terms of the GNU General Public Licence;
certain other uses are permitted as well.  For details, see the file
`COPYING', which is included in the Guile distribution.
There is no warranty, to the extent permitted by law.
catching the crash log:
coot-exe: "/usr/local/src/coot-Linux-x86_64-scientific-linux-7.6-gtk2-python/libexec/coot-bin"
/usr/bin/ls
-rwxr-xr-x 1 hnguyent hnguyent 273336584 Sep  5  2023 /usr/local/src/coot-Linux-x86_64-scientific-linux-7.6-gtk2-python/libexec/coot-bin
coot-version: 
/usr/local/src/coot-Linux-x86_64-scientific-linux-7.6-gtk2-python/libexec/coot-bin
/usr/local/src/coot-Linux-x86_64-scientific-linux-7.6-gtk2-python/libexec/coot-bin: /usr/local/src/coot-Linux-x86_64-scientific-linux-7.6-gtk2-python/lib/libssl.so.10: version `libssl.so.10' not found (required by /usr/local/src/coot-Linux-x86_64-scientific-linux-7.6-gtk2-python/lib/libcurl.so.4)
/usr/local/src/coot-Linux-x86_64-scientific-linux-7.6-gtk2-python/libexec/coot-bin: /usr/local/src/coot-Linux-x86_64-scientific-linux-7.6-gtk2-python/lib/libcrypto.so.10: version `libcrypto.so.10' not found (required by /usr/local/src/coot-Linux-x86_64-scientific-linux-7.6-gtk2-python/lib/libcurl.so.4)
platform: 
/usr/bin/uname
Linux cabat 6.5.0-41-generic #41~22.04.2-Ubuntu SMP PREEMPT_DYNAMIC Mon Jun  3 11:32:55 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
core: #f
No core file found.  No debugging

I did try to install libssl and openssl:

sudo apt update
sudo apt install openssl
sudo apt install libssl1.0.0 libssl-dev

Then make the symlinks:

cd /usr/local/src/coot-Linux-x86_64-scientific-linux-7.6-gtk2-python/lib\
ln -s /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 libssl.so.10
ln -s /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 libcrypto.so.10

However, the problem still persists.