Tell me more ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I'd like to use the RSVG for SVG processing in ImageMagick (the included library is fairly incomplete). RSVG is a supported delegate but needs to be installed separately.

I've installed librsvg and its dependencies using Homebrew (no custom settings or anything like that). Running rsvg-convert manually works fine.

Installing ImageMagick with Homebrew doesn't auto-detect and use the RSVG library and running IM's configure script with --with-rsvg doesn't detect the library either.

Clearly something isn't talking to something else, but I can't make sense of the log messages well enough to sort it out. Any advice would be appreciated.

Here's the relevant portion of config.log:

configure:31587: checking for RSVG
configure:31594: $PKG_CONFIG --exists --print-errors "librsvg-2.0 >= 2.9.0"
Package xcb-shm was not found in the pkg-config search path.
Perhaps you should add the directory containing `xcb-shm.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xcb-shm', required by 'cairo', not found
configure:31597: $? = 1
configure:31610: $PKG_CONFIG --exists --print-errors "librsvg-2.0 >= 2.9.0"
Package xcb-shm was not found in the pkg-config search path.
Perhaps you should add the directory containing `xcb-shm.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xcb-shm', required by 'cairo', not found
configure:31613: $? = 1

configure:31640: result: no
configure:31652: result: 
share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.