librsvg pkg-config problem

Jeroen Ooms jeroen.ooms at
Tue Jan 12 15:54:59 CET 2016

Using pkg-config to get the libs for librsvg works:

  ~# /opt/csw/bin/pkg-config --libs librsvg-2.0
  -L/opt/csw/lib -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lcairo
-lgobject-2.0 -lglib-2.0 -lintl

However trying to get the cflags gives an error:

  ~# /opt/csw/bin/pkg-config --cflags librsvg-2.0
  sh: gnome-config: not found
  Package xproto was not found in the pkg-config search path.
  Perhaps you should add the directory containing `xproto.pc' to the
PKG_CONFIG_PATH environment variable
  Package 'xproto', required by 'Xrender', not found

Is there an easy solution to this?

More information about the users mailing list