Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Oct 2003 13:07:34 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Jens Rehsack <rehsack@liwing.de>
Cc:        questions@freebsd.org
Subject:   Re: /usr/X11R6/lib/libscintilla.so: Undefined symbol "g_thread_init"
Message-ID:  <1065460054.748.51.camel@gyros>
In-Reply-To: <3F819F80.4040604@liwing.de>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
-- 
PGP Key : http://www.marcuscom.com/pgp.asc



[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQA/gaFWb2iPiv4Uz4cRAnm0AJ47h4UV98wTpNkVU/YY/lDFCgC2OwCeM7/H
F2tf8Fu90pdOq91SVveXcAk=
=A4XW
-----END PGP SIGNATURE-----
home | help

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