Welcome to WSL!

Make yourself at home, but before posting, please may I ask you to read the following topics.


Posting 101
Server space, screenshots, and you

Thank you!

PS. please pretty please:


Image

Reactor Won't Install on Resolve 16.1.1 Linux

Moderator: SecondMan

User avatar
tkoham
Posts: 8
Joined: Sun Dec 22, 2019 7:58 pm
Been thanked: 3 times

Reactor Won't Install on Resolve 16.1.1 Linux

#1

Post by tkoham » Sun Dec 22, 2019 8:07 pm

I drag the .lua file over, select install and activate, and it returns an error saying it can't find curl:

Code: Select all

----------------------------------------------------------------------------

[Reactor Installer] Version 3.141 - October 31, 2019

[Created By] Andrew Hazelden <andrew@andrewhazelden.com>

[Reactor Installer] Detected Resolve 16.11 running on Linux.

[GitLab Branch] "master"

[Reactor.cfg] Does not exist yet

[Reactor] Installation Started

[Reactor: PathMap] "/var/BlackmagicDesign/DaVinci Resolve/Fusion/Reactor/"

Installation Status Step 1 of 8

[Downloads Started]

[string "lj2curl/curl_ffi"]:1440: libcurl.so: cannot open shared object file: No such file or directory
This is a standard centos install on my render box, so no hacks needed to get resolve/fusion working in the first place.

i'm fairly sure this isn't correct, as curl seems to work fine on the rest of the system

any help would be greatly appreciated as I'm inexperienced with reactor.

Added in 14 minutes 55 seconds:
Fixed It! Turns out a dependency for it to work properly is the devel files for curl, can be fixed by running:

Code: Select all

sudo yum install libcurl-devel
hopes this helps someone else, it almost made my headless render box DOA

User avatar
pavelsiska
Posts: 3
Joined: Thu Mar 05, 2020 1:12 am

Re: Reactor Won't Install on Resolve 16.1.1 Linux

#2

Post by pavelsiska » Thu Mar 05, 2020 1:18 am

Same happens to me but there's nothing in the log about the missing curl. I'm using Ubuntu 19.10. Seems like the whole Resolve can't get online (it fails to check for updates too)

Code: Select all

[2020-03-05|10:10:34 AM] [Reactor Installer] Version 3.141 - October 31, 2019
[2020-03-05|10:10:34 AM] [Created By] Andrew Hazelden <andrew@andrewhazelden.com>
[2020-03-05|10:10:34 AM] [Reactor Installer] Detected Resolve 16.12 running on Linux.
[2020-03-05|10:10:34 AM] [GitLab Branch] "master"
[2020-03-05|10:10:34 AM] [Reactor.cfg] Does not exist yet
[2020-03-05|10:10:36 AM] [Reactor] Installation Started
[2020-03-05|10:10:36 AM] [Reactor: PathMap] "/var/BlackmagicDesign/DaVinci Resolve/Fusion/Reactor/"
[2020-03-05|10:10:36 AM] Installation Status Step 1 of 8
[2020-03-05|10:10:36 AM] [Downloads Started]

User avatar
SecondMan
Site Admin
Posts: 4546
Joined: Thu Jul 31, 2014 5:31 pm
Answers: 28
Location: Vancouver, Canada
Been thanked: 128 times
Contact:

Re: Reactor Won't Install on Resolve 16.1.1 Linux

#3

Post by SecondMan » Thu Mar 05, 2020 12:25 pm

pavelsiska wrote:
Thu Mar 05, 2020 1:18 am
Seems like the whole Resolve can't get online
Definitely not a Reactor issue, then...

User avatar
pavelsiska
Posts: 3
Joined: Thu Mar 05, 2020 1:12 am

Re: Reactor Won't Install on Resolve 16.1.1 Linux

#4

Post by pavelsiska » Fri Mar 06, 2020 9:17 am

SecondMan wrote:
Thu Mar 05, 2020 12:25 pm
Definitely not a Reactor issue, then...
I know. Just hoping someone else has found a workaround.

User avatar
SirEdric
Fusionator
Posts: 2325
Joined: Tue Aug 05, 2014 10:04 am
Answers: 12
Real name: Eric Westphal
Been thanked: 46 times
Contact:

Re: Reactor Won't Install on Resolve 16.1.1 Linux

#5

Post by SirEdric » Sat Mar 07, 2020 12:45 am

If Resolve can't get online I would suspect some sort of firewall / port-blocking / virus scanner issue.

User avatar
pavelsiska
Posts: 3
Joined: Thu Mar 05, 2020 1:12 am

Re: Reactor Won't Install on Resolve 16.1.1 Linux

#6

Post by pavelsiska » Tue Mar 10, 2020 7:47 am

Most likely something like this is happening, but how do I get more specific debug info that would help me locate and fix this problem?

User avatar
mmaus24
Posts: 4
Joined: Mon Aug 20, 2018 4:30 pm

Re: Reactor Won't Install on Resolve 16.1.1 Linux

#7

Post by mmaus24 » Sat May 23, 2020 9:53 am

reactor_resolve_linux_02.png
Hello. I'm new in Linux. Reactor in Fusion Studio was fine, but in Resolve 16.2 the process was stopped in step 1/8. Any suggestions? I'm using ubuntu 20.04

User avatar
SecondMan
Site Admin
Posts: 4546
Joined: Thu Jul 31, 2014 5:31 pm
Answers: 28
Location: Vancouver, Canada
Been thanked: 128 times
Contact:

Re: Reactor Won't Install on Resolve 16.1.1 Linux

#8

Post by SecondMan » Mon May 25, 2020 7:35 pm

mmaus24 wrote:
Sat May 23, 2020 9:53 am
Any suggestions?
Did you try the solution suggested in the opening post?
mmaus24 wrote:
Sat May 23, 2020 9:53 am
I'm using ubuntu 20.04
Which is also not officially supported by Blackmagic Design - could make your adventures in Resolve a little trickier, especially since you're saying you're new in Linux... If you're playing around, I suggest giving Red Hat/CentOS a try.

User avatar
Saucimus
Posts: 3
Joined: Tue Jun 16, 2020 2:32 pm
Been thanked: 2 times

Re: Reactor Won't Install on Resolve 16.1.1 Linux

#9

Post by Saucimus » Tue Jun 16, 2020 3:17 pm

Same problem as mmaus24 - installation hangs on download. Posting here in the hopes I can help find a solution and assist others.

I'm also running Ubuntu (Studio) 20.04, Resolve Studio 16.2.2.012

I've verified that I have the most recent version of curl installed (7.68.0-1ubuntu2).

Reactor-Installer.lua hangs after this output:

Code: Select all

[2020-06-16|02:03:43 PM] [Reactor Installer] Version 3.141 - October 31, 2019
[2020-06-16|02:03:43 PM] [Created By] Andrew Hazelden <andrew@andrewhazelden.com>
[2020-06-16|02:03:43 PM] [Reactor Installer] Detected Resolve 16.22 running on Linux.
[2020-06-16|02:03:43 PM] [GitLab Branch] "master"
[2020-06-16|02:03:43 PM] [Reactor.cfg] Does not exist yet
[2020-06-16|02:03:45 PM] [Reactor] Installation Started
[2020-06-16|02:03:45 PM] [Reactor: PathMap] "/var/BlackmagicDesign/DaVinci Resolve/Fusion/Reactor/"
[2020-06-16|02:03:45 PM] Installation Status Step 1 of 8
[2020-06-16|02:03:45 PM] [Downloads Started]
I verified that rw is allowed on '/var/BlackmagicDesign/DaVinci Resolve/Fusion' just in case there was a permissions issue.

Is there a way to test that my install of Resolve is able to connect to the internet? Sorry if this is an obvious question.

User avatar
AndrewHazelden
Fusionator
Posts: 1665
Joined: Fri Apr 03, 2015 3:20 pm
Answers: 9
Location: West Dover, Nova Scotia, Canada
Been thanked: 35 times
Contact:

Re: Reactor Won't Install on Resolve 16.1.1 Linux

#10

Post by AndrewHazelden » Tue Jun 16, 2020 3:39 pm

Hi @Saucimus.
Saucimus wrote:Is there a way to test that my install of Resolve is able to connect to the internet? Sorry if this is an obvious question.

If Resolve's version of the LuaJIT interpreter, and CURL, are working as expected, then this script should run successfully when copy/pasted into the Resolve's "Console" window.
  1. --[[--
  2. Download - v4 2020-06-16
  3. by Andrew Hazelden <andrew@andrewhazelden.com>
  4. www.andrewhazelden.com
  5.  
  6. This Lua script example uses Fusion/Resolve's built-in cURL library to download a file from the web.
  7. --]]--
  8.  
  9. -- The URL for the cURL based download:
  10. local sourceURL = [[https://www.steakunderwater.com/wesuckless/index.php]]
  11.  
  12. -- The filepath for saving the downloaded asset
  13. local fuDestFile = comp:MapPath("Temp:/") .. "we-suck-less.html"
  14.  
  15. -- Disable LuaJIT "JIT" compiling
  16. jit.off()
  17.  
  18. -- Set up cURL to work with Fusion 9.0.1
  19. ffi = require "ffi"
  20. curl = require "lj2curl"
  21. ezreq = require "lj2curl.CRLEasyRequest"
  22. local req = ezreq(sourceURL)
  23. local body = {}
  24. req:setOption(curl.CURLOPT_SSL_VERIFYPEER, 0)
  25. req:setOption(curl.CURLOPT_WRITEFUNCTION, ffi.cast("curl_write_callback",
  26.  function(buffer, size, nitems, userdata)
  27.     table.insert(body, ffi.string(buffer, size*nitems))
  28.     return nitems
  29.  end))
  30.  
  31. -- Download the file from the "sourceURL" address
  32. print('[Downloading] ' .. sourceURL)
  33. ok, err = req:perform()
  34. if ok then
  35.     -- Write the file to disk
  36.     local file = io.open(fuDestFile, "w")
  37.     file:write(table.concat(body));
  38.     file:close();
  39.    
  40.     -- Show the file we just downloaded in the default HTML viewer on your system:
  41.     print('[Opening File] ' .. fuDestFile)
  42.     bmd.openfileexternal('Open', fuDestFile)
  43. end
  44.  

User avatar
Saucimus
Posts: 3
Joined: Tue Jun 16, 2020 2:32 pm
Been thanked: 2 times

Re: Reactor Won't Install on Resolve 16.1.1 Linux

#11

Post by Saucimus » Tue Jun 16, 2020 4:10 pm

The above script returns the following in Resolve's console:

Code: Select all

[string "lj2curl/curl_ffi"]:1440: libcurl.so: cannot open shared object file: No such file or directory
looks like libcurl is not working as expected with Resolve after all.

I do have curl installed on my system and it runs from the terminal as follows:

Code: Select all

$ curl --version

curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3
Release-Date: 2020-01-08
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 
Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets
Maybe it's an incompatible version? I'm a bit out of my depth here -- thanks for taking the time to answer my question!

User avatar
AndrewHazelden
Fusionator
Posts: 1665
Joined: Fri Apr 03, 2015 3:20 pm
Answers: 9
Location: West Dover, Nova Scotia, Canada
Been thanked: 35 times
Contact:

Re: Reactor Won't Install on Resolve 16.1.1 Linux

#12

Post by AndrewHazelden » Tue Jun 16, 2020 7:34 pm

Hi @Saucimus.

Fusion Studio on Linux correctly bundles a built-in version of CURL. Resolve Studio on Linux appears to require the lib curl development style of the package to be installed manually via your operating system's package manager. Possibly you might check out a tip similar to this stack overflow.

User avatar
Saucimus
Posts: 3
Joined: Tue Jun 16, 2020 2:32 pm
Been thanked: 2 times

Re: Reactor Won't Install on Resolve 16.1.1 Linux

#13

Post by Saucimus » Wed Jun 17, 2020 12:06 pm

SOLVED!! THANK YOU!

For posterity - the solution to get Reactor to install on Resolve 16.2 using Ubuntu is to install the dev package of libcurl via the operating system.

Code: Select all

apt-get install libcurl4-openssl-dev

User avatar
AndrewHazelden
Fusionator
Posts: 1665
Joined: Fri Apr 03, 2015 3:20 pm
Answers: 9
Location: West Dover, Nova Scotia, Canada
Been thanked: 35 times
Contact:

Re: Reactor Won't Install on Resolve 16.1.1 Linux

#14

Post by AndrewHazelden » Wed Jun 17, 2020 2:02 pm

Thanks for sharing the result @Saucimus with the exact CLI package manager command needed. I will commit that to the Reactor documentation now. :)

User avatar
mmaus24
Posts: 4
Joined: Mon Aug 20, 2018 4:30 pm

Re: Reactor Won't Install on Resolve 16.1.1 Linux

#15

Post by mmaus24 » Sun Jul 19, 2020 9:31 am

Saucimus wrote:
Wed Jun 17, 2020 12:06 pm
SOLVED!! THANK YOU!

For posterity - the solution to get Reactor to install on Resolve 16.2 using Ubuntu is to install the dev package of libcurl via the operating system.

Code: Select all

apt-get install libcurl4-openssl-dev
Thanks Saucimus! Works fine on Ubuntu 20.04 and Resolve 16.2.4 :)