[FFmpeg-devel] Switching of automatically detected libraries [v2]

Clément Bœsch u at pkh.me
Wed Aug 30 15:22:46 EEST 2017


On Wed, Aug 30, 2017 at 02:08:59PM +0200, Clément Bœsch wrote:
> This patchset includes the following changes from previously:
> 
> - The combination of --disable-autodetect and --enable-<xxx> with <xxx>
>   an automatically detected library now works
> - Linking against libc's iconv is now supported with
>   --disable-autodetect (issue raised by Nicolas)
> - SDL detection should be fixed (issue raised by Michael), along with
>   a bunch of related cleanups
> - ALSA, Jack and sndio are now included in the autodetection code (they
>   are already autodetected, but now --disable-autodetect disable those
>   as well), along with a few cleanups
> 
> "libpthread" vs "pthread" is still not handled, but that's not blocking
> for this patchset. Actually, I'd rather have it pushed before messing
> around with something sensible like pthread.
> 
> Thanks to people who review the previous patchset and tested it. If
> someone wants to test without messing with patches, the changes are
> available on github/ubitux/FFmpeg#autodetect.
> 

Here is what `ldd ./ffmpeg` looks like after this patchset:

default (Linux, GCC):

	linux-vdso.so.1 (0x00007ffecf4ed000)
	libXv.so.1 => /usr/lib/libXv.so.1 (0x00007f804b0b2000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f804ad73000)
	libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f804ab61000)
	libSDL2-2.0.so.0 => /usr/lib/libSDL2-2.0.so.0 (0x00007f804a845000)
	libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f804a641000)
	libvdpau.so.1 => /usr/lib/libvdpau.so.1 (0x00007f804a43d000)
	libva.so.1 => /usr/lib/libva.so.1 (0x00007f804a21d000)
	libva-x11.so.1 => /usr/lib/libva-x11.so.1 (0x00007f804a017000)
	libva-drm.so.1 => /usr/lib/libva-drm.so.1 (0x00007f8049e14000)
	libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f8049beb000)
	libxcb-shm.so.0 => /usr/lib/libxcb-shm.so.0 (0x00007f80499e7000)
	libxcb-xfixes.so.0 => /usr/lib/libxcb-xfixes.so.0 (0x00007f80497df000)
	libxcb-shape.so.0 => /usr/lib/libxcb-shape.so.0 (0x00007f80495db000)
	libjack.so.0 => /usr/lib/libjack.so.0 (0x00007f80493ba000)
	libasound.so.2 => /usr/lib/libasound.so.2 (0x00007f80490aa000)
	libx264.so.148 => /usr/lib/libx264.so.148 (0x00007f8048d34000)
	libm.so.6 => /usr/lib/libm.so.6 (0x00007f8048a22000)
	liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007f80487fc000)
	libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007f80485ec000)
	libz.so.1 => /usr/lib/libz.so.1 (0x00007f80483d5000)
	libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f80481b7000)
	libc.so.6 => /usr/lib/libc.so.6 (0x00007f8047e11000)
	librt.so.1 => /usr/lib/librt.so.1 (0x00007f8047c09000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f804b2b7000)
	libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00007f8047a03000)
	libdrm.so.2 => /usr/lib/libdrm.so.2 (0x00007f80477f2000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f80475ee000)
	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f80473e8000)
	libdb-5.3.so => /usr/lib/libdb-5.3.so (0x00007f8047029000)

--disable-autodetect:

	linux-vdso.so.1 (0x00007fff5abd6000)
	libm.so.6 => /usr/lib/libm.so.6 (0x00007f817a4ab000)
	libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f817a28d000)
	libc.so.6 => /usr/lib/libc.so.6 (0x00007f8179ee7000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f817a7bd000)

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170830/bb8f20ad/attachment.sig>


More information about the ffmpeg-devel mailing list