[MapServer-dev] librsvg2 version

Johannes Paul johannespaul92 at gmail.com
Mon Jan 26 02:20:46 PST 2026


Hello,

I'm building mapserver with rsvg and with cairo on Almalinux 8.

It used to build successfully with Mapserver 8.2.0, however with v8.6.0 the
build fails in mapcairo with error: unknown type name 'RsvgRectangle'.

[ 17%] Building C object CMakeFiles/mapserver.dir/src/mapcairo.c.o
/builds/mapserver/MapServer/src/mapcairo.c: In function
'renderSVGSymbolCairo':
/builds/mapserver/MapServer/src/mapcairo.c:371:3: error: unknown type name
'RsvgRectangle'; did you mean 'RsvgHandle'?

It seems this is an issue with librsvg2-devel-2.42.7 that I'm getting from
AppStream repo, correct ?

I guess I need to upgrade librsvg ? What is the minimum required version of
librsvg ? Is there any other option than building librsvg from source ?

Thanks,
Johannes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20260126/1673c7f1/attachment.htm>


More information about the MapServer-dev mailing list