Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using ffmpeg on Ubuntu 20.04 from script built on 22.04 gives error #154

Open
abrar71 opened this issue Aug 5, 2022 · 1 comment
Open

Comments

@abrar71
Copy link
Contributor

abrar71 commented Aug 5, 2022

The static builds where built on Ubuntu 22.04 (latest) with the command and commit 15ef520

./build-ffmpeg --build --enable-gpl-and-non-free --full-static

.ts file used sample_960x400_ocean_with_audio.ts.zip

Running FFmpeg on Ubuntu 20.04 or older version gives the following error:

ffmpeg -i sample_960x400_ocean_with_audio.ts
ffmpeg version v1.38 Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)
  configuration: --enable-nonfree --enable-gpl --enable-openssl --enable-libdav1d --enable-libsvtav1 --enable-librav1e --enable-libx264 --enable-libx265 --enable-libvpx --enable-libxvid --enable-libvidstab --enable-libaom --enable-libzimg --enable-lv2 --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libtheora --enable-libfdk-aac --enable-libwebp --enable-libsrt --enable-amf --disable-debug --disable-doc --disable-shared --enable-pthreads --enable-static --enable-small --enable-version3 --extra-cflags='-I/app/ffmpeg-build-script/workspace/include -I/app/ffmpeg-build-script/workspace/include/lilv-0' --extra-ldexeflags=-static --extra-ldflags=-L/app/ffmpeg-build-script/workspace/lib --extra-libs='-ldl -lpthread -lm -lz' --pkgconfigdir=/app/ffmpeg-build-script/workspace/lib/pkgconfig --pkg-config-flags=--static --prefix=/app/ffmpeg-build-script/workspace --extra-version=
  libavutil      57. 17.100 / 57. 17.100
  libavcodec     59. 18.100 / 59. 18.100
  libavformat    59. 16.100 / 59. 16.100
  libavdevice    59.  4.100 / 59.  4.100
  libavfilter     8. 24.100 /  8. 24.100
  libswscale      6.  4.100 /  6.  4.100
  libswresample   4.  3.100 /  4.  3.100
  libpostproc    56.  3.100 / 56.  3.100
ffmpeg: dl-call-libc-early-init.c:37: _dl_call_libc_early_init: Assertion `sym != NULL' failed.
Aborted (core dumped)
@hut8
Copy link

hut8 commented Aug 17, 2022

What does your ffmpeg-build-script/packages/FFmpeg-release-5.0/ffbuild/config.log say?

I think this might be relevant:

/usr/bin/ld: cannot find -lgcc_s
/usr/bin/ld: cannot find -lgcc_s
/usr/bin/ld: /home/liam/ffmpeg-build-script/workspace/lib/libx265.a(api.cpp.o): in function `x265_12bit::x265_api_get_199(int)':
api.cpp:(.text+0x1fa3): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants