#11608: libavfilter undefined symbol -------------------------------------+------------------------------------- Reporter: Ferdi | Type: defect Scholten | Status: new | Priority: normal Component: avfilter | Version: git- | master Keywords: LTO | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Summary of the bug: linking ffmpeg causes ld to report the following:
{{{ /usr/bin/ld: libavfilter/libavfilter.so: undefined reference to `pl_cache_set_file' /usr/bin/ld: libavfilter/libavfilter.so: undefined reference to `pl_cache_get_file' }}} when linking with mold the build completes, but running FFmpeg wit a filter gives this message: {{{ ffmpeg: symbol lookup error: /home/ferdi/ffmpeg_build/lib/libavfilter.so.11: undefined symbol: pl_cache_set_file }}} How to reproduce: Build FFmpeg with the following config: {{{ ./configure \ --prefix="$HOME/ffmpeg_build" \ --pkg-config-flags="--static" \ --extra-cflags="-I$HOME/ffmpeg_build/include -I/usr/local/cuda/include" \ --extra-ldflags="-L$HOME/ffmpeg_build/lib -L/usr/local/cuda/lib64" \ --extra-libs="-lpthread -lm" \ --ld="g++" \ --bindir="$HOME/bin" \ --enable-gpl \ --enable-gnutls \ --enable-libaom \ --enable-libass \ --enable-libfdk-aac \ --enable-libfreetype \ --enable-libmp3lame \ --enable-libopus \ --enable-libsvtav1 \ --enable-libdav1d \ --enable-libvorbis \ --enable-libvpx \ --enable-libx264 \ --enable-libx265 \ --enable-nonfree \ --enable-libvmaf \ --enable-lto \ --enable-libvpl \ --enable-vulkan \ --enable-libshaderc \ --enable-opencl \ --enable-vaapi \ --enable-opengl \ --enable-openal \ --enable-libplacebo \ --enable-shared \ --disable-debug \ --disable-avx512 \ --disable-avx512icl \ --enable-libdvdnav \ --enable-libdvdread \ --enable-cuda-nvcc \ --enable-libnpp }}} -- Ticket URL: <https://trac.ffmpeg.org/ticket/11608> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
_______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org https://ffmpeg.org/mailman/listinfo/ffmpeg-trac To unsubscribe, visit link above, or email ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".