Skip to content

Instantly share code, notes, and snippets.

@matteoferla
Last active January 16, 2025 12:21
Show Gist options
  • Save matteoferla/2001c5578c24651bb04ef910004c7d52 to your computer and use it in GitHub Desktop.
Save matteoferla/2001c5578c24651bb04ef910004c7d52 to your computer and use it in GitHub Desktop.
I am going to write a comment for every damn IT issue/fix I get...

This is an experiment. Is a GitHub Gist comment a good way to log publically how I fixed an installation or similar issue?

See comments

@matteoferla
Copy link
Author

APBS does not work out of the box on Rocky Linux 8.10

https://github.com/Electrostatics/apbs/releases/download/v3.4.1/APBS-3.4.1.Linux.zip
$ unzip APBS-3.4.1.Linux.zip
...REDACTED...
$ ./APBS-3.4.1.Linux/bin/apbs pentakaihemimer.relax.pdb 
./APBS-3.4.1.Linux/bin/apbs: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by ./APBS-3.4.1.Linux/bin/apbs)
./APBS-3.4.1.Linux/bin/apbs: /lib64/libpthread.so.0: version `GLIBC_2.30' not found (required by ./APBS-3.4.1.Linux/bin/apbs)
$ ldd --version
ldd (GNU libc) 2.28
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
$ source /etc/os-release 
$ echo $PRETTY_NAME 
Rocky Linux 8.10 (Green Obsidian)

@matteoferla
Copy link
Author

MacCoot

CCP4 has coot, but why install the whole, when you need a part?
The following is more icky than the value of zeta(3), but CCP4 installation on Mac can be worse:
installing XQuartz traditionally has made my OS glitchier than a Windows machine running pirated software.

brew tap brewsci/bio
brew install coot
 
# find /opt/homebrew -iname '*coot*' --> /opt/homebrew/Cellar/coot/1.1.11_1.reinstall/bin/coot
# but when run it thinks itself in coot/1.1.11_1/
ln -s /opt/homebrew/Cellar/coot/1.1.11_1.reinstall /opt/homebrew/Cellar/coot/1.1.11_1
export COOT_PATH='/opt/homebrew/Cellar/coot/1.1.11_1'
 
# link binaries to folder in PATH
ln -s $COOT_PATH/bin/coot /opt/homebrew/bin/coot
ln -s $COOT_PATH/libexec/MacCoot /opt/homebrew/bin/MacCoot
 
# boost error? Boost installed                                                       
#brew install boost-python3
#brew upgrade boost-python3
# linking it and crossing fingers...
ln -s /opt/homebrew/Cellar/boost-python3/1.87.0_1/lib/libboost_python313.dylib \
      /opt/homebrew/opt/boost-python3/lib/libboost_python312.dylib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment