Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Oct 2003 16:59:44 +0000
From:      Jens Rehsack <rehsack@liwing.de>
To:        questions@freebsd.org
Subject:   /usr/X11R6/lib/libscintilla.so: Undefined symbol "g_thread_init"
Message-ID:  <3F819F80.4040604@liwing.de>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F819F80.4040604>