← Back to team overview

graphite-dev team mailing list archive

[Question #245451]: Graphite - issue with Cairo

 

New question #245451 on Graphite:
https://answers.launchpad.net/graphite/+question/245451

I have a similar issue to https://answers.launchpad.net/graphite/+question/202143.
But I don't think it is related to the installation of cairo.
Seems like LD_LIBRARY_PATH is not being used in wsgi.

When I test http://<host:port>/render with run-graphite-devel-server.py, it works fine.

But when I test http://<host:port>/render with apache/wsgi, I get the following error.

Exception Type: ViewDoesNotExist at /render
Exception Value: Could not import graphite.render.views. Error was: /<path>/application/usr/lib/python2.7/site-packages/cairo/_cairo.so: undefined symbol: cairo_surface_get_fallback_resolution

However, the dependant shared object exists.

ldd _cairo.so
        libcairo.so.2 => /<path>/application/usr/lib/libcairo.so.2 (0x00002b747e443000)

I don't know how to debug this further.

Thanks,

RJ


-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.