Opened 8 years ago

Closed 8 years ago

#5370 closed defect (invalid)

MSYS2 (MinGW-w64) static build issue

Reported by: Arukata Owned by:
Priority: minor Component: undetermined
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Resulting binaries fail to start due to a dependency on "avcodec-56.dll", which is not generated. Adding -static to cflags etc didn't help. Shared builds function fine, despite that no additional libraries are present in this case either.

ffmpeg is otherwise installed via MSYS2's package manager. Possible this is user error that I'm just not realizing.

Also, stripping debug symbols fails ("can't rename [binary], already exists") if make clean is not run between builds. Didn't seem important enough for a separate ticket, might be an msys2 problem.

./configure --enable-avisynth --enable-chromaprint --enable-fontconfig --enable-ladspa --enable-libass --enable-libbluray --enable-libcaca --enable-libcelt --enable-libcdio --enable-libdcadec --enable-libfaac --enable-libfreetype --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopencv --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libssh --enable-libtesseract --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-openal --enable-opengl --enable-openssl --enable-gpl --enable-nonfree --enable-version3

Change History (1)

comment:1 by Carl Eugen Hoyos, 8 years ago

Component: ffmpegundetermined
Resolution: invalid
Status: newclosed

Please post all build issues on the user mailing list.

Note: See TracTickets for help on using tickets.