[FFmpeg-user] ERROR: libass >= 0.11.0 not found using pkg-config
kozaick
kozaick at yahoo.co.jp
Wed Dec 25 15:40:53 EET 2024
On Wed, 25 Dec 2024 21:07:44 +0900
Masaru Nomiya <nomiya at lake.dti.ne.jp> wrote:
> 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 --
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
Thank you for quick reply.
First, I forgot to mention that I have set the following my environment variables,
PKG_CONFIG_LIBDIR="/usr/local/x86_64-w64-mingw32/lib/pkgconfig:$PKG_CONFIG_LIBDIR”
PKG_CONFIG_PATH="/usr/local/x86_64-w64-mingw32/lib/pkgconfig:$PKG_CONFIG_PATH”
The setting you mentioned to put the .pc file in /usr/local/lib/pkgconfig does not work in my environment when I do this, and pkg-config returns 1.
I think the error is probably related to the configure file itself.?
Second, I forgot to attach the config.log file, Sorry.
So, I attached this.
Thanks for let me know.
Finally, My container envrioment is ubuntu 24.04 x86_64, ffmpeg release 7.1 from github, gcc 13, g++-mingw-w64-x86-64.
ありがとう & お休みなさい.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libass.pc
Type: application/octet-stream
Size: 402 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20241225/d3a1d533/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 549825 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20241225/d3a1d533/attachment-0001.obj>
More information about the ffmpeg-user
mailing list