[portland] Problems Importing GTK

Rich Shepard rshepard at appl-ecosys.com
Mon Feb 2 02:52:10 CET 2009

   I've a fresh Slackware-12.2 installation, but gtk+2 is not being found by
applications that want to use it. When I load python interactively I see

[rshepard at salmo ~]$ python
Python 2.5.2 (r252:60911, Sep 11 2008, 13:43:31) 
[GCC 4.2.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtk
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py", line 48,
in <module>
     from gtk import _gtk
ImportError: /usr/lib/libfontconfig.so.1: undefined symbol: FT_Select_Size

   The fontconfig package is installed.

   This is not an issue on my notebook running Slackware-12.2, only on the

   Has anyone ideas why this is happening, and what I need to do about it?



Richard B. Shepard, Ph.D.               |  Integrity            Credibility
Applied Ecosystem Services, Inc.        |            Innovation
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863

More information about the Portland mailing list