[maemo-developers] undefined symbol: _Py_TrueStruct
From: Lauro Moura lauro.neto at openbossa.orgDate: Tue Feb 12 19:41:07 EET 2008
- Previous message: undefined symbol: _Py_TrueStruct
- Next message: undefined symbol: _Py_TrueStruct
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 2/12/08, Sergio Galán <sgalan at inv.it.uc3m.es> wrote: > Hi, > After some busy weeks, I've back to maemo plugin programming with python. > I used these packages (Thanks Benoit !) but doesn't work for me in my N800. > Nothing happens and I don't know how to see error messages. > In scratchbox, I compiled the python desktop plugin loader following this > tutorial > http://ianlawrence.info/random-stuff/hildon-python-plug-in-ide, > and I get this error when I try to load a home desktop plugin: > > > Traceback (most recent call last): > File "/usr/lib/hildon-desktop/homeip.py", line 1, in > <module> > import gtk > File > "/home/luwolf/release-jan/chinook/python-gtk2-2.12.1/debian/python2.5-gtk2/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py", > line 38, in <module> > File > "/home/luwolf/release-jan/chinook/python-gobject-2.14.1/debian/python2.5-gobject/usr/lib/python2.5/site-packages/gtk-2.0/gobject/__init__.py", > line 30, in <module> > File > "/home/luwolf/release-jan/chinook/python-gobject-2.14.1/debian/python2.5-gobject/usr/lib/python2.5/site-packages/gtk-2.0/gobject/constants.py", > line 22, in <module> > ImportError: > /usr/lib/python2.5/site-packages/gtk-2.0/gobject/_gobject.so: > undefined symbol: _Py_TrueStruct > > > Does anyone know what's happening. I'm going mad... > > Thanks. > I had to apply this patch [1] to the loader to make it work. It uses g_module_open to load libpyhton2.5.so during the loader initialization. http://pastebin.com/f21f6605c -- Lauro Moura INdT - Instituto Nokia de Tecnologia
- Previous message: undefined symbol: _Py_TrueStruct
- Next message: undefined symbol: _Py_TrueStruct
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]