[FFmpeg-user] Cannot build ffmpeg with libx264

Carl Eugen Hoyos ceffmpeg at gmail.com
Tue Nov 14 02:07:51 EET 2017

2017-11-14 0:07 GMT+01:00 Peterson, David J <djpeter at sandia.gov>:
> I can see from the config.out that it knows where libx264.a is at
> but it always dies and says:
> collect2: error: ld returned 1 exit status
> ERROR: libx264 not found

I am quite sure the configure script gave you useful explanations
what you should do - why do you ignore them?
I at least would like to know what collect2 was unhappy about,
or actually: I need it to be able to answer your question.

> rm -rf $FFMPEGDIR/ffmpeg_sources/yasm
> rm -rf $FFMPEGDIR/ffmpeg_sources/nasm-2.13.01

You need either yasm or nasm, yasm does not support
AVX-512 (which so far you don't want to use).
You cannot use both.

Carl Eugen

More information about the ffmpeg-user mailing list