Crash in ubuntu on start

Hello, the version of shotcut in ubuntu 23.04 is failing to launch with the message

libDeckLinkAPI.so: cannot open shared object file: No such file or directory

I’m not sure if this is an issue with the drivers or a configuration issue or what. If it’s an ubuntu issue, I’ll try to deal with them

Thank you,
Román

The missing libDeckLinkAPI.so is not the problem; that is an optional file, and that message typically appears. You should specify what you are actually trying to install or run as there are different Linux packages.

I’m having the same problem as the OP.

Ubuntu 23.04
Shotcut version: 23.07.29
I have extracted shotcut into my /home/mksmith/bin directory
Trying to launch from the terminal
/home/mksmith/Shotcut/Shotcut.app/
./shotcut

It attempts to launch but crashes with
“Aborted (core dumped)”

I get basically the same results if I try using the .appimage

If I run sudo ./shotcut it seems to launch without a problem.

Here is a clip from my log file.
[Info ] Starting Shotcut version 23.07.29
[Info ] Linux version “23.04”
[Fatal ] <> Cannot mix incompatible Qt library (6.4.2) with this library (6.4.3)

It seems I have a problem with Qt but I don’t know how to resolve it.

Some additional information.
If I delete the 23.07.29 version and downgrade to 23.06.14, the problem does not happen.

1 Like

Does this happen with the AppImage version too?

Ubuntu 23.04 includes Qt 6.4.2 so it looks like our launch script is failing to completely prioritize the bundled Qt over the system installed one. Or Qt 6.4.3 might be seeing an optional component from the system and trying to load it.

Yes, this happens with the .appimage as well.
I get the same message in the log file.
[Fatal ] <> Cannot mix incompatible Qt library (6.4.2) with this library (6.4.3)

I did a new full install of Ubuntu 23.04 (full = all supplemental software options in the installer such as apps and codecs) in a virtual machine, and Shotcut ran just fine. Next, I ran sudo apt install qtcreator to have Ubuntu install its Qt 6 packages, and Shotcut (portable) still works for me (and the incompatible error does not appear). So, something installed on your systems somehow messed things up for Qt 6, but I do not know what or how (KDE is not yet using Qt6). If you know how to use strace you might find something from the system Qt 6.4.2 loaded.

I believe I have resolved my problem.
I’m not entirely sure what fixed it.
What I did was remove qtcreator.
This in turn caused a huge number of packages to appear in the autoremove list.
So I did the autoremove.
Consequently, I wound up reinstalling flatpak and fuse which is needed for Gimp.

The new version of shotcut appears to be working now.

1 Like

Hi for All,
So, currently, if I start my laptop via Wayland, I have the same problem – libDeckLinkAPI.so: cannot open shared object file: No such file or directory. I’m using Ubuntu 24.04 / Shotcut 24.04.28. But, at the same time, I don’t have the problem via x11.

I’ll repeat Shotcut’s answer from above:

this is how my Shotcut fails to start, and info about it:

(last output before it quits....)
  - hevc_nvenc
  - hevc_v4l2m2m
  - hevc_vaapi
  - mjpeg_vaapi
  - mpeg2_vaapi
  - mpeg4_v4l2m2m
  - vp8_v4l2m2m
  - vp8_vaapi
  - vp9_vaapi
  - vnull
...
andre@loke:~$ snap info shotcut 
name:      shotcut
summary:   Free, cross-platform, open source video editor
publisher: Meltytech, LLC (meltytech✓)
store-url: https://snapcraft.io/shotcut
contact:   https://forum.shotcut.org/
license:   unset
description: |
  Shotcut is a free, open source, cross-platform video editor for Windows, Mac and Linux. Major
  features include support for a wide range of formats; no import required meaning native timeline
  editing; Blackmagic Design support for input and preview monitoring; and resolution support to 4k.
commands:
  - shotcut.ffmpeg
  - shotcut.ffplay
  - shotcut.ffprobe
  - shotcut.glaxnimate
  - shotcut.melt
  - shotcut
snap-id:      QbcwWzVel4jXFaSClk6oiPpN3GCTXwvi
tracking:     latest/stable
refresh-date: 6 days ago, at 05:22 CEST
channels:
  latest/stable:    24.08.29 2024-08-29 (1569) 157MB classic
  latest/candidate: 24.08.29 2024-08-29 (1569) 157MB classic
  latest/beta:      24.08.29 2024-08-29 (1569) 157MB classic
  latest/edge:      24.09.05 2024-09-05 (1576) 157MB classic
installed:          24.08.29            (1569) 157MB classic
andre@loke:~$ 

What is your host OS and version? It works for me on Ubuntu 20.04 with X.org and 22.04 & 24.04 with Wayland, both with Qt 6 libs installed that could possibly conflict. The Snap is based on the portable and AppImage, which I have tested on a few other Linux.

Ubuntu 24.04, Xorg,

$ dpkg -l | grep qt6
ii  libqt6core6t64:amd64                           6.4.2+dfsg-21.1build5                    amd64        Qt 6 core module
ii  libqt6dbus6t64:amd64                           6.4.2+dfsg-21.1build5                    amd64        Qt 6 D-Bus module
ii  libqt6gui6t64:amd64                            6.4.2+dfsg-21.1build5                    amd64        Qt 6 GUI module
ii  libqt6network6t64:amd64                        6.4.2+dfsg-21.1build5                    amd64        Qt 6 network module
ii  libqt6opengl6t64:amd64                         6.4.2+dfsg-21.1build5                    amd64        Qt 6 OpenGL module
ii  libqt6qml6:amd64                               6.4.2+dfsg-4build3                       amd64        Qt 6 QML module
ii  libqt6qmlmodels6:amd64                         6.4.2+dfsg-4build3                       amd64        Qt 6 QML Models library
ii  libqt6quick6:amd64                             6.4.2+dfsg-4build3                       amd64        Qt 6 Quick library
ii  libqt6sql6-sqlite:amd64                        6.4.2+dfsg-21.1build5                    amd64        Qt 6 SQLite 3 database driver
ii  libqt6sql6t64:amd64                            6.4.2+dfsg-21.1build5                    amd64        Qt 6 SQL module
ii  libqt6svg6:amd64                               6.4.2-4ubuntu3                           amd64        Qt 6 SVG library
ii  libqt6waylandclient6:amd64                     6.4.2-5build3                            amd64        Qt 6 Wayland Client library
ii  libqt6waylandcompositor6:amd64                 6.4.2-5build3                            amd64        Qt 6 Wayland Compositor library
ii  libqt6waylandeglclienthwintegration6:amd64     6.4.2-5build3                            amd64        Qt 6 Wayland WaylandEglClientHwIntegration library
ii  libqt6waylandeglcompositorhwintegration6:amd64 6.4.2-5build3                            amd64        Qt 6 Wayland WaylandEglCompositorHwIntegration library
ii  libqt6widgets6t64:amd64                        6.4.2+dfsg-21.1build5                    amd64        Qt 6 widgets module
ii  libqt6wlshellintegration6:amd64                6.4.2-5build3                            amd64        Qt 6 Wayland ShellIntegration library
ii  libqt6xml6t64:amd64                            6.4.2+dfsg-21.1build5                    amd64        Qt 6 XML module
ii  qt6-gtk-platformtheme:amd64                    6.4.2+dfsg-21.1build5                    amd64        Qt 6 GTK+ 3 platform theme
ii  qt6-qpa-plugins:amd64                          6.4.2+dfsg-21.1build5                    amd64        Qt 6 QPA plugins
ii  qt6-translations-l10n                          6.4.2-1                                  all          translations for Qt 6
ii  qt6-wayland:amd64                              6.4.2-5build3                            amd64        Qt 6 Wayland platform plugin

FWIW: I can run .AppImage of Qgroundcontrol and other Qt appimages just fine.
and shotcut-linux-x86_64-240829.AppImage segfaults too.

Same error on Fedora Silverblue 42, wont open

migtorr@X13s:~$ flatpak run org.shotcut.Shotcut
libDeckLinkAPI.so: cannot open shared object file: No such file or directory
migtorr@X13s:~$ flatpak info org.shotcut.Shotcut

Shotcut - Video editor

          ID: org.shotcut.Shotcut
         Ref: app/org.shotcut.Shotcut/aarch64/stable
        Arch: aarch64
      Branch: stable
     Version: 25.03.29
     License: GPL-3.0-only
      Origin: flathub
  Collection: org.flathub.Stable
Installation: system
   Installed: 201.3 MB
     Runtime: org.kde.Platform/aarch64/6.8
         Sdk: org.kde.Sdk/aarch64/6.8

      Commit: 2a10b2dcd2b8404a8f05540fb459929b6807ff2b8107ac1df5aecc69b8ec42bf
      Parent: d9b05c27ea6a7aed5a890476919b59f61b7037309d764a958c842cae566d16b0
     Subject: fix failure to locate whisper-cli (#132) (d47e6456)
        Date: 2025-04-07 18:48:59 +0000

There is a separate thread where Flatpak crashes on startup on Arm64 processor. None of the current developers have an Arm system for Linux. You can consider to help others and debug it.