[FFmpeg-user] ERROR: libass >= 0.11.0 not found using pkg-config

Masaru Nomiya nomiya at lake.dti.ne.jp
Wed Dec 25 14:07:44 EET 2024


Hello,

In the Message; 

  Subject    : [FFmpeg-user] ERROR: libass >= 0.11.0 not found using pkg-config
  Message-ID : <20241225202457.908d59c15458b96106ee769c at yahoo.co.jp>
  Date & Time: Wed, 25 Dec 2024 20:24:57 +0900

[kozaick] == kozaick via ffmpeg-user <ffmpeg-user at ffmpeg.org> has written:

kozaick> Hello.
kozaick> I am trying to compile ffmpeg with libass included for windows in ubuntu container (docker).
kozaick> But I get an error when running the configure file.
kozaick> To check, I placed the following command in the test_pkg_config() method of the configure file.
kozaick> ---
kozaick> echo “Checking package: $pkg_version”
kozaick> pkg-config --exists --print-errors $pkg_version 
kozaick> echo “pkg-config exit code: $?”
kozaick> ---
kozaick> And display like this.
kozaick> ---
kozaick> Checking package: libass >= 0.11.0
kozaick> pkg-config exit code: 0
kozaick> ERROR: libass >= 0.11.0 not found using pkg-config
[...]

This says that libass.pc cannot be found. Your compilation method
should have created libass.pc, but since /usr/local/lib/pkgconfig is
missing, it is probably not installed.

How about this?

   1. $ sudo mkdir /usr/local/lib/pkgconfig

   2. $ sudo cp somewhere/libass.pc /usr/local/lib/pkgconfig

Best Reagrs & お休みなさい.

---
┏━━┓彡     Masaru Nomiya                   mail-to: nomiya @ lake.dti.ne.jp
┃\/彡
┗━━┛       "Reading widely about things that don't seem immediately or
	       practically useful, in the hope that what you learn now may prove
	       meaningful later―that's pretty much the definition of a liberal-
	       arts education. Who knew that one of its best defenders would turn
	       out to be a computer scientist?"
	       
                    -- "What Does It Really Mean to Learn?" THE NEW YORKER --


More information about the ffmpeg-user mailing list