[FFmpeg-trac] #5370(ffmpeg:new): MSYS2 (MinGW-w64) static build issue

FFmpeg trac at avcodec.org
Wed Mar 23 20:43:00 CET 2016


#5370: MSYS2 (MinGW-w64) static build issue
---------------------------------+--------------------------------------
             Reporter:  Arukata  |                     Type:  defect
               Status:  new      |                 Priority:  minor
            Component:  ffmpeg   |                  Version:  git-master
             Keywords:           |               Blocked By:
             Blocking:           |  Reproduced by developer:  0
Analyzed by developer:  0        |
---------------------------------+--------------------------------------
 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

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5370>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list