I am trying to build librsvg on an Amazon Linux distro instance. I've install most of the dependencies via yum. There where a few that where not available in the default yum repo's enabled on the instance so had to build them from scratch. I've got pretty far but am stuck on one final bit. When running sudo ./configure
for librsvg I get No package 'gdk-pixbuf-2.0' found
. I did get this message originally for some of the packages I installed via yum and installing the -dev version of those libs solved my problem. Currently gdk-pixbuf-2.0 is the only lib I install from source.
Here are the results of pkg-config for the missing lib:
$ pkg-config --list-all | grep pixbuf
> gdk-pixbuf-2.0 GdkPixbuf - Image loading and scaling
$ pkg-config --modversion pixbuf
> 2.26.1
- Why is this package not being found?
- What do the -dev/-devel packages usually install/configure?
- Are there any other environment coming into play? i.e. LD_LIBRARY_PATH, CPPFLAGS, LDFLAGS
- Am I missing a step in my build steps which would register this package/lib properly?