• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Building jellyfin-ffmpeg on Debian 12

     
    • 0 Vote(s) - 0 Average

    Building jellyfin-ffmpeg on Debian 12

    Building jellyfin-ffmpeg on Debian 12
    foxbat
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2024 Jun
    Reputation: 0
    Country:United States
    #1
    2024-06-16, 12:59 PM (This post was last modified: 2024-06-16, 01:00 PM by foxbat. Edited 2 times in total.)
    Hello,

    I am attempting to build jellyfin-ffmpeg on Debian 12 - however I am running into an issue when specifying the --enable-libshaderc configure option.

    Configure complains with : "ERROR: shaderc >= 2019.1 not found using pkg-config" even though the libshaderc-dev package is installed."

    And ffbuild/config.log is filled with errors like this:

    /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libshaderc.so: undefined reference to glslang::TProgram::getInfoLog()'
    /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libshaderc.so: undefined reference to
    glslang::TShader::setNanMinMaxClamp(bool)'
    /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libshaderc.so: undefined reference to glslang::TShader::setInvertY(bool)'
    /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libshaderc.so: undefined reference to
    glslang::TProgram::~TProgram()'

    So it seems ffmpeg doesn't like the libshaderc provided by Debian? Or maybe the lib is just broken somehow in Debian? I've tried configuring it on another Debian 12 system with the same result.

    I know there are pre-built binaries that will run fine on Debian 12 (and were presumably built on it), so I'm probably missing something. If someone who has successfully built ffmpeg with shaderc could let me know what I need to do to get that working, it would be much appreciated.

    Here are the configure options I'm using, for reference:

    ./configure --prefix=/opt/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --d
    isable-ffplay --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-gmp --ena
    ble-gnutls --enable-chromaprint --enable-libdrm --enable-libass --enable-opencl --enable-libfreetype --enable-libfribidi --enable-libfontcon
    fig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-shared --enable-libtheora --enable-libvorbis --enable-libopenmpt --enab
    le-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable
    -ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc --enable-libfdk-aac --enable-nonfree --disable-ptx-
    compression --enable-cuda-nvcc --enable-libnpp --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64  --enable-li
    bshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --arch=amd64
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-06-16, 03:20 PM
    What is the goal of manually building jellyfin-ffmpeg if you don't my asking?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    foxbat
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2024 Jun
    Reputation: 0
    Country:United States
    #3
    2024-06-16, 07:15 PM
    (2024-06-16, 03:20 PM)TheDreadPirate Wrote: What is the goal of manually building jellyfin-ffmpeg if you don't my asking?

    I want to build a binary for the ppc64le architecture.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode