[Libav-user] Can not link ffmpeg without pkg-config

Carl Eugen Hoyos ceffmpeg at gmail.com
Mon Aug 29 13:10:47 EEST 2016


2016-08-29 10:52 GMT+02:00 Javier Lopez <jlopez2022 at gmail.com>:
> Here are the error messages:

This is missing the linker command you tried that would also help.

> /home/acciona/ffmpeg2_sources/ffmpeg/libavformat/fifo.c:586: undefined
> reference to `pthread_join'

-pthreads or similar, depending on your system.

> /home/acciona/ffmpeg2_sources/ffmpeg/libavformat/id3v2.c:1006: undefined
> reference to `uncompress'

-lz

> /home/acciona/ffmpeg2_sources/ffmpeg/libavcodec/libfdk-aacdec.c:322:
> undefined reference to `aacDecoder_Fill'

-lfdk-aac

> /home/acciona/ffmpeg2_sources/ffmpeg/libavcodec/libmp3lame.c:211: undefined
> reference to `lame_encode_buffer_float'

-lmp3lame

> /home/acciona/ffmpeg2_sources/ffmpeg/libavcodec/libx264.c:280: undefined
> reference to `x264_picture_init'

-lx264

> /home/acciona/ffmpeg2_sources/ffmpeg/libavcodec/vaapi.c:128: undefined
> reference to `vaCreateBuffer'

-lva (I think)

> /home/acciona/ffmpeg2_sources/ffmpeg/libavutil/hwcontext_vaapi.c:891:
> undefined reference to `XOpenDisplay'

-lX11

Please avoid top-posting here, Carl Eugen


More information about the Libav-user mailing list