/usr/X11R6/lib/libscintilla.so: Undefined symbol "g_thread_init"

Jens Rehsack rehsack at liwing.de
Mon Oct 6 09:59:47 PDT 2003


Hi,

I'm trying to get my favourite editor (moleskine) run after a
'portupgrade -far'.

But I'm getting:
$ moleskine
Traceback (most recent call last):
   File "/usr/X11R6/bin/moleskine", line 39, in ?
     from Moleskine.MoleskineApp import *
   File "/usr/X11R6/share/gnome/Moleskine/Moleskine/MoleskineApp.py", 
line 32, in ?
     from Document import Document
   File "/usr/X11R6/share/gnome/Moleskine/Moleskine/Document.py", line 
31, in ?
     import gtkscintilla
   File "/usr/local/lib/python2.3/site-packages/gtkscintilla.py", line 
2, in ?
     import _gtkscintilla
ImportError: /usr/X11R6/lib/libscintilla.so: Undefined symbol 
"g_thread_init"

As you can see, moleskine is a python script. It's based on py-gtk-0.6,
so I build it against glib12/gtk12.

When I'm calling SciTE (which is an editor using libscintilla directly)
the error doesn't appear. So I'm checked /usr/X11R6/lib/libscintilla.so
using ldd, and it contains information, that
/usr/local/lib/libglib12.so.3 is required (which contains g_thread_init
call).

My system is FreeBSD 5.1-CURRENT #0: Fri Oct  3 22:18:43 GMT 2003.
A reboot helped nothing, neither ldconfig -R did.

Any hints what I can do?

Jens



More information about the freebsd-questions mailing list