[cairo] Install cairo + pycairo

Hung Nguyen Vu vuhung16plus+shape at gmail.com
Fri Jun 27 00:28:02 PDT 2008

Hi all,

I've installed cairo and pycairo as follows:

# CentOS 5, 4.1.2,  glibc 2.5
# All the packages have done with ./configure --prefix=$HOME; make; make

1. Python 2.5.2
2. cairo 1.6.4
3. pycairo-1.1.6
4.  libsvg-0.1.4
5. libsvg-cairo-0.1.6

But when I tried to run an example in pycairo, I got an error:

cd pycairo-1.1.6/examples
[vuhung at aoclife examples]$ ./spiral.py
Traceback (most recent call last):
  File "./spiral.py", line 5, in <module>
    import cairo
  File "/home/vuhung/lib/python2.5/site-packages/cairo/__init__.py", line 1,
in <module>
    from _cairo import *
ImportError: /home/vuhung/lib/python2.5/site-packages/cairo/_cairo.so:
undefined symbol:
[7307 refs]

I am quite new to python so I think perhaps I've missed something.

Best Regards,
Nguyen Hung Vu ( Nguyễn Vũ Hưng )
<vuhung16plus%7Bremove%7D at gmail.dot.com>, YIM: vuhung16 , Skype:
Japan through an eye of a gaijin:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20080627/28f57ce5/attachment.html 

More information about the cairo mailing list