[PyKDE] problems with sip

Michael Mason michael.l.mason at gmail.com
Tue Aug 30 15:46:54 BST 2005


Hello,

Here is my configuration:

Python 2.2.1
gcc 3.2
sip  3.11.1

I'm in the process of  requesting that our sysadmin upgrade to new
versions of everything, but for now I'm stuck using these older
versions.

Here's my problem:

A couple of weeks ago, I was able to complete the 'word' example in
the sip documentation.  Then something happened to our servers (I keep
asking our sysadmins what happened and get no responses - for
instance, if there were any libraries updated, etc).

Now, when try to 'import word' from within the Python interpreter, I
get the following error:

Python 2.2.1 (#1, Aug 30 2002, 12:15:30) 
[GCC 3.2 20020822 (Red Hat Linux Rawhide 3.2-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import word
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "word.py", line 5, in ?
    import libsip
ImportError: /usr/local/lib/libfontconfig.so.1: undefined symbol:
FT_Get_PS_Font_Info
>>> 

>From the googling that I've done, it  appears that I may have some
freetype/fontconfig library problem.  If someone could help me
diagnose the problem and at least describe in general the steps that I
need to take to remedy this situation I would greatly appreciate it.

 I'm planning on using sip to generate bindings to some c++ libraries
so that I can write a test suite for a simulation.  I figure that
writing the tests in Python would be alot easier/quicker than writing
them in c++.  I'm eager to get started, so I hope that this problem
can be solved quickly.

Thanks,
-mike




More information about the PyQt mailing list