Or, because we don't expect this app to be relocated, we could also link it against /opt
:
ln -s "/opt/${_pkgname}/BlackmagicRAWPlayer/BlackmagicRawAPI" "${srcdir}/squashfs-root/bin/"
Git Clone URL: | https://aur.archlinux.org/davinci-resolve-studio.git (read-only, click to copy) |
---|---|
Package Base: | davinci-resolve-studio |
Description: | Professional A/V post-production software suite from Blackmagic Design. Studio edition, requires license key or license dongle. |
Upstream URL: | https://www.blackmagicdesign.com/support/family/davinci-resolve-and-fusion |
Keywords: | blackmagic davinci editor resolve studio video |
Licenses: | Commercial |
Conflicts: | davinci-resolve, davinci-resolve-beta, davinci-resolve-studio-beta |
Submitter: | codibit |
Maintainer: | deezid (satriani) |
Last Packager: | satriani |
Votes: | 32 |
Popularity: | 0.20 |
First Submitted: | 2018-01-21 18:37 (UTC) |
Last Updated: | 2024-03-24 21:14 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 .. 19 Next › Last »
Or, because we don't expect this app to be relocated, we could also link it against /opt
:
ln -s "/opt/${_pkgname}/BlackmagicRAWPlayer/BlackmagicRawAPI" "${srcdir}/squashfs-root/bin/"
About Line 182 in current PKGBUILD (https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=davinci-resolve-studio#n182):
ln -s "${srcdir}/squashfs-root/BlackmagicRAWPlayer/BlackmagicRawAPI" "${srcdir}/squashfs-root/bin/"
If you want it to link to correct path after packaging and installing, maybe you should use relative path:
ln -s "../BlackmagicRAWPlayer/BlackmagicRawAPI" "${srcdir}/squashfs-root/bin/"
the currently PKGBUILD makes it links to user's build dir, and if they remove build dir, or install the package on another machine, it won't work.
After a fresh install on my system, the following is found in the output of ls -al /opt/resolve/bin
lrwxrwxrwx 1 root root 103 Dec 2 11:32 BlackmagicRawAPI -> /var/tmp/pamac-build-blue/davinci-resolve-studio/src/squashfs-root/BlackmagicRAWPlayer/BlackmagicRawAPI
In any event, it doesn't run.
:: (1/1) 正在解析 SRCINFO: davinci-resolve-studio Version mismatch -> 生成时出错: davinci-resolve-studio-找不到包名: [Version mismatch] -> 无法安装以下软件包, 需要手动介入处理: davinci-resolve-studio - 找不到包名: [Version mismatch]
@irieger I get the exact same errors as xavierbaez with the latest 18.6.3 build. I was running 18.6.2 just fine before the update using "export LD_PRELOAD="/usr/lib64/libglib-2.0.so" && /opt/resolve/bin/resolve"
Finnally when I try to get it working from command line I get:
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
Have you tried to kill this start and start over. Strangely the first start sometimes just results in no reaction but if you kill it and try again it worked for me. Had this problem multiple times.
I cannot get this program to run on Linux First I got the popular error:
/opt/resolve/bin/resolve: symbol lookup error: /usr/lib/libpango-1.0.so.0: undefined symbol: g_string_free_and_steal
I read about the possible solutions:
I tried :export LD_PRELOAD="/usr/lib64/libglib-2.0.so"
But now the It seems the program tries to launch, but I get this error:
I never see the welcome screen:
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
/opt/resolve/bin/resolve: symbol lookup error: /usr/lib/libpango-1.0.so.0: undefined symbol: g_string_free_and_steal
Finnally when I try to get it working from command line I get:
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
To get the activation to work, I had to run the following:
sudo chown -R <user> /opt/resolve/
Without this I just got the generic "There was an error attempting to perform the activation"
I am guessing this is because my user did not have access to write to the folder.
I am unsure if this is the best approach though as I suspect this could cause issues when I go to run an update later.
There's no need to make a symlink, you can just replace ${major_version}
with ${pkgver}
in the _archive_run_name
in the STUDIO elif in the PKGBUILD
@FraYoshi DaVinci won't launch and your workaround worked, thanks :-)
@Bink Thanks for the workaround, helped with updating!
if anyone comes across this problem, here are the step by step instructions:
makepkg -si
(error is expected)ln -s
thing)makepkg -si
(should be success)
Pinned Comments
satriani commented on 2021-05-15 14:24 (UTC)
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-studio-beta/
For current free beta here: https://aur.archlinux.org/packages/davinci-resolve-beta/
Thanks.