[FFmpeg-devel] [FFmpeg-cvslog] configure: use pkg-config for xlib/Xv

James Almer jamrial at gmail.com
Thu Jul 15 22:28:02 EEST 2021


On 7/15/2021 4:26 PM, Michael Niedermayer wrote:
> On Wed, Jul 14, 2021 at 10:32:24PM +0000, Timo Rothenpieler wrote:
>> ffmpeg | branch: master | Timo Rothenpieler <timo at rothenpieler.org> | Wed Jul 14 23:16:02 2021 +0200| [7ec7e6aa2d394d8d25472c55c5da2e44b0a60041] | committer: Timo Rothenpieler
>>
>> configure: use pkg-config for xlib/Xv
>>
>>> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7ec7e6aa2d394d8d25472c55c5da2e44b0a60041
>> ---
>>
>>   configure | 5 +++--
>>   1 file changed, 3 insertions(+), 2 deletions(-)
> 
> breaks build on normal standard ubuntu here
> 
> /usr/bin/ld: libavdevice/libavdevice.a(xv.o): undefined reference to symbol 'XShmDetach'
> //usr/lib/x86_64-linux-gnu/libXext.so.6: error adding symbols: DSO missing from command line
> collect2: error: ld returned 1 exit status
> Makefile:123: recipe for target 'ffmpeg_g' failed
> make: *** [ffmpeg_g] Error 1
> 
> "-lXext" is missing
> 
> locate xv.pc
> /usr/lib/x86_64-linux-gnu/pkgconfig/xv.pc
> 
> pkg-config --libs xv
> -lXv
> 
> this is from:
> ii  libxv-dev:amd64                                                          2:1.0.11-1                                amd64                                     X11 Video extension library (development headers)
> 
> https://packages.ubuntu.com/search?suite=all&searchon=names&keywords=libxv-dev
> says thats the latest
> 
> Thanks

Yes, I pushed a fix a few minutes ago. Can you confirm if it works for you?


More information about the ffmpeg-devel mailing list