I didn't think to try pacman -Qo before deleting the files when installing 21.0 -- but what (other than the previous installed version of Davinci Resolve) would own files in or under /opt/resolve?
That did indeed work, thanks.
I don't know what the correct solution is, but as a workaround you can delete the conflicting files
sudo rm -f /opt/resolve/libs/libc++*
...and try the install again. That worked for me.
Getting the following error when trying to upgrade this package:
error: failed to commit transaction (conflicting files)++
davinci-resolve: /opt/resolve/libs/libc++.modules.json exists in filesystem
davinci-resolve: /opt/resolve/libs/libc++.so exists in filesystem
davinci-resolve: /opt/resolve/libs/libc++abi.so exists in filesystem
Errors occurred, no packages were upgraded.
Any tips?
This works, however commenting just in case someone else stumbles on the same issue.
I had a libc++ abi compatibility issue -- Davinci ships its own versions, but the versions on my arch install were newer (? I think) and something was screwing up.
Tried running by manually setting LD_LIBRARY_PATH to Davinci's libs folder, and also with my /usr/lib and neither worked. What worked at the end was to rm /opt/resolve/libs/libc++* and then cp /usr/lib/libc++* /opt/resolve/libs. Not sure how this will blow over when I get to updating later, but we'll see I guess.
As a thought, I wonder if the process could be made slightly more userfriendly by searching for the file in ~/Downloads?
This would be slightly more efficient and easy for anyone using an AUR helper, and would make the process more userfriendly, particularly for newbies.
I'm thinking about how I'd describe the install process to my brother, who's still undergoing the switch to Arch – "So, you have to download it, then you have to navigate to ~/.cache/paru/clone/davinci-resolve and put it there, unless you use Yay, in which case I don't know offhand and you'll have to find that out..."
Whereas if it searched in ~/Downloads, "Download it from the site, and you're good to go."
All this said, I'll be honest, I'm still pretty much a novice (I've only been using Arch for a year or two at this point), so I don't know if this would present technical issues.
Work in system libraries. This will make a backup/shift broken libraries to make it work on system libraries:
cd /opt/resolve/libs
sudo lkdir /opt/resolve/libs/_disabled
sudo mv libgio libglib libgmodule libgobject _disabled
@hopsayer the link is not valid anymore, they are dynamically generated and the download is protected from cloudflare