A workaround:
cd /opt/resolve/libs
sudo mv libc++.so.1 libc++.so.1.orig
sudo ln -s /usr/lib/libc++.so.1.0 libc++.so.1
Git Clone URL: | https://aur.archlinux.org/davinci-resolve.git (read-only, click to copy) |
---|---|
Package Base: | davinci-resolve |
Description: | Professional A/V post-production software suite from Blackmagic Design |
Upstream URL: | https://www.blackmagicdesign.com/support/family/davinci-resolve-and-fusion |
Keywords: | blackmagic davinci editor resolve video |
Licenses: | Commercial |
Conflicts: | davinci-resolve-beta, davinci-resolve-studio, davinci-resolve-studio-beta |
Submitter: | jonathon |
Maintainer: | satriani |
Last Packager: | satriani |
Votes: | 131 |
Popularity: | 2.72 |
First Submitted: | 2017-04-19 20:57 (UTC) |
Last Updated: | 2024-03-24 21:14 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 51 Next › Last »
A workaround:
cd /opt/resolve/libs
sudo mv libc++.so.1 libc++.so.1.orig
sudo ln -s /usr/lib/libc++.so.1.0 libc++.so.1
Upgraded to version 18.6 successfully after adapting the PKGBUILD file. But cannot start the program anymore:
/opt/resolve/bin/resolve: symbol lookup error: /opt/resolve/bin/../libs/libdavcloudclient.so: undefined symbol: _ZTVNSt3__14__fs10filesystem16filesystem_errorE
Strange error now
==> Starting prepare()...
~/workspace/davinci-resolve/src ~/workspace/davinci-resolve/src
chmod: cannot access './davinci-resolve/src/DaVinci_Resolve_18.6.0_Linux.run': No such file or directory
==> ERROR: A failure occurred in prepare().
Aborting...
The unpacked run file davinci-resolve/src/DaVinci_Resolve_18.6.0_Linux.run actually says 18.6 not 18.6.0. I did this...
index 66c5c48..80ad87b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,6 +9,7 @@
# It can be obtained from chromium -> Developer Tools -> Network -> XHR -> click latest-version and copy downloadId
pkgname=davinci-resolve
+major_version=18.6
pkgver=18.6.0
pkgrel=1
@@ -20,6 +21,7 @@ if [ "$pkgname" == "davinci-resolve" ]; then
sha256sums=('18f391cc522a336553a32c0c8c3eb0f47e0f7478687a08aae1acbf49bfa34560')
pkgdesc='Professional A/V post-production software suite from Blackmagic Design'
_archive_name=DaVinci_Resolve_${pkgver}_Linux
+ _archive_run_name=DaVinci_Resolve_${major_version}_Linux
conflicts=('davinci-resolve-studio' 'davinci-resolve-beta' 'davinci-resolve-studio-beta')
elif [ "$pkgname" == "davinci-resolve-studio" ]; then
# Variables for STUDIO edition
@@ -29,6 +31,7 @@ elif [ "$pkgname" == "davinci-resolve-studio" ]; then
sha256sums=('85d10ad79ecd033c782bcb6ad27e0cb5ac190e9ef4dbd517282bc4dbe045a080')
pkgdesc='Professional A/V post-production software suite from Blackmagic Design. Studio edition, requires license key or license dongle.'
_archive_name=DaVinci_Resolve_Studio_${pkgver}_Linux
+ _archive_run_name=DaVinci_Resolve_Studio_${major_version}_Linux
conflicts=('davinci-resolve' 'davinci-resolve-beta' 'davinci-resolve-studio-beta')
fi
@@ -102,7 +105,7 @@ makedepends=('libarchive' 'xdg-user-dirs' 'patchelf' 'jq')
options=('!strip')
_archive=${_archive_name}.zip
-_installer_binary=${_archive_name}.run
+_installer_binary=${_archive_run_name}.run
source=("${_archive}"::"$_srcurl")
prepare()
There's a small error in 18.6.0. In particular,
_installer_binary=${_archive_name}.run
...which makes sense, except that ${_archive_name} is "DaVinci_Resolve_18.6.0_Linux", but the actual file is "DaVinci_Resolve_18.6_Linux.run" (notice 18.6, not 18.6.0).
Editing this in the PKGBUILD fixes the problem. I took the easy way out and just added the line
_installer_binary="DaVinci_Resolve_18.6_Linux.run"
immediately after the existing version above (line 105 of the unedited file).
Build failing in the prepare stage for me
I would suggest the following git patch to make this package work again using the 18.6.0 DavinciResolve software.
diff --git a/PKGBUILD b/PKGBUILD
index 1e82ad1..b10c605 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,14 +9,14 @@
# It can be obtained from chromium -> Developer Tools -> Network -> XHR -> click latest-version and copy downloadId
pkgname=davinci-resolve
-pkgver=18.5.1
+pkgver=18.6.0
pkgrel=2
if [[ "$pkgname" == "davinci-resolve" ]];then
# Variables for FREE edition
_product="DaVinci Resolve"
_referid='3d7a9703a5614d16834816641a447f7f'
_siteurl="https://www.blackmagicdesign.com/api/support/latest-stable-version/davinci-resolve/linux"
- sha256sums=('3c5da589f987d437a0f1c51f3ef16e33147ba6bd947a5bf549acfa57a6fb41aa')
+ sha256sums=('18f391cc522a336553a32c0c8c3eb0f47e0f7478687a08aae1acbf49bfa34560')
pkgdesc='Professional A/V post-production software suite from Blackmagic Design'
_archive_name=DaVinci_Resolve_${pkgver}_Linux
conflicts=('davinci-resolve-studio' 'davinci-resolve-beta' 'davinci-resolve-studio-beta')
@@ -100,7 +100,7 @@ makedepends=('libarchive' 'xdg-user-dirs' 'patchelf' 'jq')
options=('!strip')
_archive=${_archive_name}.zip
-_installer_binary=${_archive_name}.run
+_installer_binary=$(echo ${_archive_name}.run | sed 's/\([0-9]\)\.\([0-9]\)\.\([0-9]\)/\1.\2/g')
source=("${_archive}"::"$_srcurl")
prepare()
I tested these changes only with the davinci-resolve
package.
The patch makes these changes:
pkgver=18.6.0
: change to the new and latest version 18.6.0
.sha256sums=('18f391cc522a336553a32c0c8c3eb0f47e0f7478687a08aae1acbf49bfa34560')
: new sha256sum of the zip archive._installer_binary=$(echo ${_archive_name}.run | sed 's/\([0-9]\)\.\([0-9]\)\.\([0-9]\)/\1.\2/g')
: the .run
file inside the archive now is named only using major.minor
syntax, so I have removed the patch
semver part from the .run
file name.I hope that this could be useful to fix the package for the maintainer or to install the package with manual fixes for the other ones.
This needs a version bump to 18.5.6
@ghfujianbin
Tried it same issue and here is the logs of ./resolve
ActCCMessage Already in Table: Code= c005, Mode= 13, Level= 1, CmdKey= -1, Option= 0
ActCCMessage Already in Table: Code= c006, Mode= 13, Level= 1, CmdKey= -1, Option= 0
ActCCMessage Already in Table: Code= c007, Mode= 13, Level= 1, CmdKey= -1, Option= 0
ActCCMessage Already in Table: Code= 2282, Mode= 0, Level= 0, CmdKey= 8, Option= 0
PnlMsgActionStringAdapter Already in Table: Code= 615e, Mode= 0, Level= 0, CmdKey= -1, Option= 0
log4cxx: No appender could be found for logger (BtCommon).
log4cxx: Please initialize the log4cxx system properly.
18.5.1.0006 Linux/Clang x86_64
Main thread starts: 97E2DF80
0x7f5797e2df80 | Undefined | INFO | 2023-09-03 13:47:01,176 | --------------------------------------------------------------------------------
0x7f5797e2df80 | Undefined | INFO | 2023-09-03 13:47:01,176 | Loaded log config from /home/jayanthl/.local/share/DaVinciResolve/configs/log-conf.xml
0x7f5797e2df80 | Undefined | INFO | 2023-09-03 13:47:01,176 | --------------------------------------------------------------------------------
Pinned Comments
satriani commented on 2021-05-15 14:15 (UTC) (edited on 2021-05-15 14:16 (UTC) by satriani)
Issues and bugs, please report on the official forum here: https://forum.blackmagicdesign.com/viewforum.php?f=21&sid=239f0d5c49abe5d6a635b69638192e9a Thank you!
Visit DaVinci Resolve - ArchWiki before installing: https://wiki.archlinux.org/title/DaVinci_Resolve
ATTENTION: Please don't flag this package as out-of-date before beta version has been released as stable!
This is a current stable Package!
The current free beta is available here: https://aur.archlinux.org/packages/davinci-resolve-beta/
And for current studio beta here: https://aur.archlinux.org/packages/davinci-resolve-studio-beta/
Thanks.