Forum: Inkscape rsvg_bpath_def_closepath error on centos

Posted by Paul Edward (pauliee)
on 2010-07-18 04:32
I have successfully compiled and am using svg2pdf on my local OS X
machine without any problems. I'm now trying to deploy that same code to
the server, but am having trouble.

When I am logged into the server, I type:

svg2pdf myfile.svg myfile.pdf

I get the following error:

(process:7793): librsvg-CRITICAL **: rsvg_bpath_def_closepath: assertion
`bpd->moveto_idx >= 0' failed

I installed like this:

sudo yum install cairo-devel
sudo yum install librsvg2-devel

then compiled svg2pdf.c and moved the resulting file to /usr/bin

It claims to be using:

librsvg2-2.16.1-1.el5.x86_64
cairo-1.2.4-5.el5.x86_64

This is a fairly generic centos 5.5 installation. I've installed apache
and a few other things, all using yum.

I have no idea what the error message is telling me. Is there a module
missing?
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.