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

Joe Marcus Clarke marcus at marcuscom.com
Mon Oct 6 10:07:48 PDT 2003


On Mon, 2003-10-06 at 12:59, Jens Rehsack wrote:
> 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?

Looks like scintilla needs to be linked with GThread and friends.

Joe

> 
> Jens
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20031006/b25aaff6/attachment.bin


More information about the freebsd-questions mailing list