Skip to content

Flatpak build fails to start on Linux Mint 22.2 (Wayland) — libmpv/FFmpeg symbol mismatch #1083

@RaresKeY

Description

@RaresKeY

Overview

On Linux Mint 22.2 Zara (Ubuntu 24.04 base) with GNOME 46 (Wayland), the Flatpak version of Celluloid fails to start.

Error:

celluloid: symbol lookup error: /app/lib/libmpv.so.2: undefined symbol: avcodec_get_supported_config, version LIBAVCODEC_61

System details:

  • DE: GNOME 46.0 (GTK 3.24.41, Wayland)
  • Flatpak runtime: org.freedesktop.Platform//25.08
  • Celluloid Flatpak: stable (from Flathub)

This appears to be a mismatch between Celluloid’s bundled libmpv (built with FFmpeg 6.1) and the Freedesktop 25.08 runtime (FFmpeg 6.0).
The native APT version works correctly.

Steps to reproduce

  1. sudo apt update && sudo apt upgrade -y
  2. sudo apt install flatpak -y
  3. flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
  4. flatpak install flathub io.github.celluloid_player.Celluloid -y
  5. flatpak info org.freedesktop.Platform (Should show Version: 25.08)
  6. flatpak run io.github.celluloid_player.Celluloid
  7. celluloid: symbol lookup error: /app/lib/libmpv.so.2: undefined symbol: avcodec_get_supported_config, version LIBAVCODEC_61 (Observe the failure)

Actual results

When executing:

flatpak run io.github.celluloid_player.Celluloid

The program immediately terminates with the following error:

celluloid: symbol lookup error: /app/lib/libmpv.so.2: undefined symbol: avcodec_get_supported_config, version LIBAVCODEC_61

No window appears — Celluloid fails to start.
The stack trace confirms a runtime symbol mismatch between the bundled libmpv (built with FFmpeg 6.1) and the Freedesktop 25.08 runtime (containing FFmpeg 6.0).

Expected results

Running:

flatpak run io.github.celluloid_player.Celluloid

should successfully launch Celluloid on Wayland, opening its main player window with no terminal errors.
The application should properly load MPV, play media files, and function normally using the Freedesktop 25.08 runtime.

Version

0.26 (Flatpak stable, Flathub build)

Install method

Flatpak (Flathub)

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions