From owner-freebsd-ports Fri Jun 23 21:59:19 2000 Delivered-To: freebsd-ports@freebsd.org Received: from posgate.acis.com.au (posgate.acis.com.au [203.14.230.14]) by hub.freebsd.org (Postfix) with ESMTP id 9CDE437B689; Fri, 23 Jun 2000 21:59:09 -0700 (PDT) (envelope-from andymac@bullseye.apana.org.au) Received: from bullseye.apana.org.au (uucp@localhost) by posgate.acis.com.au (8.9.3/8.9.3) with UUCP id OAA15319; Sat, 24 Jun 2000 14:54:52 +1000 Received: from bullseye.apana.org.au (central.apana.org.au [203.9.107.245]) by bullseye.apana.org.au (8.8.8/8.8.8) with SMTP id JAA11099; Sat, 24 Jun 2000 09:48:28 +1000 (EST) (envelope-from andymac@bullseye.apana.org.au) Date: Sat, 24 Jun 2000 09:41:28 +1000 (EST) From: Andrew MacIntyre To: Ilia Chipitsine Cc: questions@FreeBSD.ORG, ports@FreeBSD.ORG Subject: Re: how to deal with python & gnome-python ? In-Reply-To: Message-ID: X-X-Sender: andymac@bullseye.apana.org.au MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, 24 Jun 2000, Ilia Chipitsine wrote: > I'm not familiar with python, so I simply have no idea how to solve the > following problem ... > > > $ pybliographic > Traceback (innermost last): > File "/usr/local/bin/pybliographer", line 161, in ? > execfile (filename, user_global) > File "/usr/local/share/pybliographer/pybliographic.py", line 26, in ? > from gtk import * > File "/usr/local/lib/python1.5/site-packages/gtk.py", line 21, in ? > import _gtk > ImportError: /usr/local/lib/python1.5/site-packages/_gtkmodule.so: > Undefined symbol "GTK_TYPE_GDK_COLOR" The _gtk Python extension module (part of PyGTK) doesn't match the GTK libraries you have; specifically it was compiled and linked against a version of the GTK libs that exported the GTK_TYPE_GDK_COLOR symbol. The reason this won't show up until runtime (ie PyGTK will build OK) is the way Python dynamically loaded extensions are linked - unresolved externals are allowed, so that when Python loads the extension the references back into Python itself can be resolved by the dynamic link loader. You will need to update/rebuild one or both of the PyGTK and GTK ports, or download the latest matching versions of the respective packages. -- Andrew I MacIntyre "These thoughts are mine alone..." E-mail: andrew.macintyre@aba.gov.au (work) | Snail: PO Box 370 andymac@bullseye.apana.org.au (play) | Belconnen ACT 2616 andymac@pcug.org.au (play2) | Australia To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message