[Ffmpeg-devel] libavutil.pc has incorrect Requires:

Steven M. Schultz sms
Sat Dec 16 18:21:10 CET 2006

Hi -

	I do not see a "ffmpeg.pc" file being created or installed.  However
	libavutil.pc has a "Requires: ffmpeg" line.  This causes an error when
	using pkg-config:

	pkg-config --libs libavcodec
Package ffmpeg was not found in the pkg-config search path.
Perhaps you should add the directory containing `ffmpeg.pc'
to the PKG_CONFIG_PATH environment variable
Package 'ffmpeg', required by 'libavutil', not found

	Since none of the other .pc files has "Requires: ffmpeg" I think the
	fix is:

--- libavutil.pc.dist   2006-12-14 22:13:46.000000000 -0800
+++ libavutil.pc        2006-12-16 09:20:33.000000000 -0800
@@ -6,7 +6,7 @@
 Name: libavutil
 Description: FFmpeg utility library
 Version: 49.1.0
-Requires: ffmpeg
 Libs: -L${libdir} -lavutil
 Cflags: -I${includedir} -I${includedir}/

	Steven Schultz

More information about the ffmpeg-devel mailing list