This fixes the following Davinci Resolve error if you ran a system update (pacman -Syu) after Oct 25th:
/opt/resolve/bin/resolve: Symbol `_ZNSt3__14cerrE' has different size in shared object, consider re-linking
/opt/resolve/bin/resolve: Symbol `_ZNSt3__14coutE' has different size in shared object, consider re-linking
fish: Job 1, '/opt/resolve/bin/resolve' terminated by signal SIGSEGV (Address boundary error)If you're on Bash, it'll show: Segmentation fault (core dumped)
Arch’s October update to libc++ and libc++abi broke compatibility with some Resolve 20.x releases. Add the old libc++ libraries to Resolve's /opt/resolve/libs/ dir:
# Temp working dir for downloads
mkdir -p ~/temp && cd ~/temp
# Get the old runtimes
curl -L -o libc++-20.1.6-2-x86_64.pkg.tar.zst \
'https://archive.archlinux.org/packages/l/libc%2B%2B/libc%2B%2B-20.1.6-2-x86_64.pkg.tar.zst'
curl -L -o libc++abi-20.1.6-2-x86_64.pkg.tar.zst \
'https://archive.archlinux.org/packages/l/libc%2B%2Babi/libc%2B%2Babi-20.1.6-2-x86_64.pkg.tar.zst'
# Extract directly under /opt/resolve/libs
sudo mkdir -p /opt/resolve/libs
sudo bsdtar -C /opt/resolve/libs -xf libc++-20.1.6-2-x86_64.pkg.tar.zst usr/lib
sudo bsdtar -C /opt/resolve/libs -xf libc++abi-20.1.6-2-x86_64.pkg.tar.zst usr/lib
# Lift the libs up and clean
cd /opt/resolve/libs
sudo mv usr/lib/libc++*.so* . && sudo rm -r usrLaunch as normal.
❤️ You're a lifesaver!