Hi all,<br><br>I've installed cairo and pycairo as follows:<br><br># CentOS 5, 4.1.2, glibc 2.5<br># All the packages have done with ./configure --prefix=$HOME; make; make install<br><br>1. Python 2.5.2<br>2. cairo 1.6.4<br>
3. pycairo-1.1.6<br>4. libsvg-0.1.4<br>5. libsvg-cairo-0.1.6<br><br clear="all">But when I tried to run an example in pycairo, I got an error:<br><br>cd pycairo-1.1.6/examples<br>[vuhung@aoclife examples]$ ./spiral.py <br>
Traceback (most recent call last):<br> File "./spiral.py", line 5, in <module><br> import cairo<br> File "/home/vuhung/lib/python2.5/site-packages/cairo/__init__.py", line 1, in <module><br>
from _cairo import *<br>ImportError: /home/vuhung/lib/python2.5/site-packages/cairo/_cairo.so: undefined symbol: cairo_svg_surface_set_dpi_REPLACED_BY_cairo_surface_set_fallback_resolution<br>[7307 refs]<br><br>I am quite new to python so I think perhaps I've missed something.<br>
<br>-- <br>Best Regards,<br>Nguyen Hung Vu ( Nguyễn Vũ Hưng )<br><a href="mailto:vuhung16plus%7Bremove%7D@gmail.dot.com">vuhung16plus{remove}@gmail.dot.com</a> , YIM: vuhung16 , Skype: vuhung16dg<br>Japan through an eye of a gaijin:<br>
<a href="http://www.flickr.com/photos/vuhung/tags/fav/">http://www.flickr.com/photos/vuhung/tags/fav/</a>