Opened 3 years ago

Closed 3 years ago

#9232 closed defect (invalid)

ERROR: librsvg-2.0 not found using pkg-config (Windows)

Reported by: qdras Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

I'm trying to compile ffmpeg with librsvg, but it shows error message:

ERROR: librsvg-2.0 not found using pkg-config
In the config.log file is this:
require_pkg_config librsvg librsvg-2.0 librsvg-2.0/librsvg/rsvg.h rsvg_handle_render_cairo
check_pkg_config librsvg librsvg-2.0 librsvg-2.0/librsvg/rsvg.h rsvg_handle_render_cairo
test_pkg_config librsvg librsvg-2.0 librsvg-2.0/librsvg/rsvg.h rsvg_handle_render_cairo
pkg-config --exists --print-errors librsvg-2.0
Package librsvg-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `librsvg-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'librsvg-2.0' found
ERROR: librsvg-2.0 not found using pkg-config

Can tell me what to do?
How to reproduce:

I use command ./configure --prefix=ffmpeg/ --enable-cross-compile --disable-network --disable-debug --disable-yasm --enable-librsvg

Change History (1)

comment:1 by James, 3 years ago

Resolution: invalid
Status: newclosed

As the error clearly said, librsvg is apparently not in your pkg-config search path. So it's either not installed, or you need to set PKG_CONFIG_PATH to the correct path.

And this is a bug tracker. For user support with compilation questions please send an email to the https://ffmpeg.org/mailman/listinfo/ffmpeg-user mailing list.

Note: See TracTickets for help on using tickets.