[FFmpeg-user] libbluray not found using pkg-config on macOS

桃源老師 xanadu6291 at dream.jp
Thu Oct 19 03:35:40 EEST 2017


Hello Moritz - san,

Thanks for your replay

> 2017/10/19 午前6:19、Moritz Barsnick <barsnick at gmx.net>のメール:
> 
> They are due to an issue of libbluray's pkg-config file not stating its
> dependencies (freetype, bz2, ...) correctly. The issue has already been
> reported for ffmpeg here:
> 
> https://trac.ffmpeg.org/ticket/6731

Thanks, I understand now what is happening.

> libbluray fixed it from their side yesterday (still pending a release).
> You can change your installed libbluray.pc file locally, if you wish,
> as described here:
> 
> https://ffmpeg.org/pipermail/ffmpeg-devel/2017-October/217888.html

I added "Requires: freetype2" only.

--- libbluray.pc.org	2017-10-19 00:50:50.000000000 +0900
+++ libbluray.pc	2017-10-19 08:12:45.000000000 +0900
@@ -6,6 +6,7 @@
 Name: libbluray
 Description: library supporting Blu-ray playback
 Version: 1.0.0
+Requires: freetype2
 Libs: -L${libdir} -lbluray
 Libs.private:   -L/Volumes/ffmpeg_compile/lib -lfreetype -L/Volumes/ffmpeg_compile/lib -lfontconfig -lfreetype
 Cflags: -I${includedir}

Now I can configure make ffmpeg successfully!!

So Happy!!

Best Regards,


// Miya aka. TougenRoushi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3864 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20171019/e0f40205/attachment.bin>


More information about the ffmpeg-user mailing list