Difference in rpm package for Davinci

I tried to install Davinci Resolve and have issue with libapr1. This lib installed, but seems provided with name libapr1-0 while Davinci tries to find libapr1. I tried to create symlink, but issue still persist. How could I resolve this?

You can find a package created for openSUSE or ignore this dependency and install the necessary packages manually.

The error message even tells what to do;

tumblevb@test:~/Downloads/DaVinci_Resolve_19.1.2_Linux> /home/tumblevb/Downloads/DaVinci_Resolve_19.1.2_Linux/DaVinci_Resolve_19.1.2_Linux.run SKIP_PACKAGE_CHECK=1
Error: Missing or outdated system packages detected.

Please install the following missing packages:
    libapr1 libapr-util1

Use SKIP_PACKAGE_CHECK=1 to bypass the system package check.

***********************
Installation cancelled.

This will sucessfully install Davinci:

tumblevb@test:~/Downloads> SKIP_PACKAGE_CHECK=1 DaVinci_Resolve_19.1.2_Linux.run 

I know, but package installed on system. But under a slightly different name.

Yes. And that “slightly different name” is what matters to the package manager.

Could I make some sort of alias for lib?

You can create a package with the expected name that itself depends on the native openSUSE package.

1 Like

Okay, thanks. Weird that there no easier way

That is the difference between the different distributions, other names…

Or you build it from source…

1 Like

This is only a naming problem: Davinci require libapr1 whereas opensuse name it libapr1-0.

So you can resolve it by modifying davinci.rpm with rpmrebuild avalaible in OSS (sudo zypper install rpmrebuild). You have to edit the spec, find the line Requires: libaprl1 and change it to Requires: libaprl1-0.

$ rpmrebuild -enp [davinci.rpm]

Save after editing, confirm and a new package will be build in $HOME/rpmbuild/RPMS/x86_64/

Read this tutorial for more explanations : https://linuxconfig.org/how-to-modify-an-rpm-package-using-rpmrebuild.

There is only the run file available as it is a proprietary program. Where did you find the rpm? Did you check the license?

Sorry,

I understood Davinci Resolve was distributed by rpm not run.

Of course you are’nt allowed to modify the run.

I searched libapr1 at openbuildservice and find this project Show home:favogt:symbolictw / apr - openSUSE Build Service

Hope it will help you to resolve your problem.

I installed DaVinci 18.6.4 in Tumbleweed this way:

sudo zypper in libapr1-0 libapr-util1-0
sudo ./DaVinci_Resolve_18.6.4_Linux.run -i 
sudo mkdir /opt/resolve/libs/_original_libraries
sudo mv /opt/resolve/libs/{libgio*,libglib*,libgmodule*,libgobject*} /opt/resolve/libs/_original_libraries/

This looks good, but I don’t understand why you move libs?

@Nybachok you can run ldd resolve and see what libraries are in use and their location, @rafaellinuxuser likely switched over to use system ones…

The primary reason for moving those libraries is to resolve compatibility issues. The versions of these libraries bundled with DaVinci Resolve may conflict with the more recent versions present in the Tumbleweed system.

By relocating those libraries, DaVinci Resolve is forced to use the system’s versions, which are typically more up-to-date and compatible with Tumbleweed . This approach helps prevent startup errors, improves stability, and ensures better integration with the operating system.

1 Like

Of course it is possible.

Please read the EULA. You are violating the license agreement by doing so.
Davinci Resolve is NOT open source.

Technically possible but legally prohibited, even with a very good lawyer ; DaVinci is proprietary not FOSS.

Again, read the EULA of Davinci. Don’t promote violation of applicable law.