[cairo] cairo/py2cairo import error - undefined symbol: cairo_surface_get_fallback_resolution

Edwin Gonzalez edwin at rightscale.com
Mon Oct 17 15:56:45 PDT 2011


Hi All


I installed the following from source.
pixman-0.22.2.tar.gz
./configure && make && make install && make clean

cairo-1.10.2.tar.gz
./configure --enable-xlib  --enable-png --enable-pdf  && make && make
install && make clean


py2cairo-1.10.0.tar.bz2

./waf configure --libdir=/usr/lib64
./waf build
./waf install


I'm getting the following when I import the cairo module.

Python 2.6.5 (r265:79063, Jun  4 2010, 21:42:56)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-48)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import cairo
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python2.6/site-packages/cairo/__init__.py", line 1, in
<module>
    from _cairo import *
ImportError: /usr/lib64/python2.6/site-packages/cairo/_cairo.so: undefined
symbol: cairo_surface_get_fallback_resolution

Any help is appreciated.


Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20111017/a9d70200/attachment.htm>


More information about the cairo mailing list