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

Michael Niedermayer michael at niedermayer.cc
Thu Jul 15 22:26:46 EEST 2021


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

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210715/176e5e30/attachment.sig>


More information about the ffmpeg-devel mailing list