Bug#255292: libgnomecanvas2: undefined symbol: gdk_threads_lock

Gregory P. Smith "Gregory P. Smith" <greg-debian@electricrain.com>, 255292@bugs.debian.org
Sun, 20 Jun 2004 11:31:25 -0700


On Sun, Jun 20, 2004 at 06:03:59PM +0200, Sebastien Bacher wrote:
> > gnome-terminal: relocation error: /usr/lib/libgnomecanvas-2.so.0: undefined symbol: gdk_threads_lock
> 
> Could you provide the result of these commands ?
> 
> $ objdump -T /usr/lib/libgdk-x11-2.0.so | grep lock
> $ ldd /usr/bin/gnome-terminal

greg@soap:~$ objdump -T /usr/lib/libgdk-x11-2.0.so.0 | grep lock
00000000000ad730 g    DO .sbss  0000000000000008  Base        gdk_threads_lock
000000000001ddf0 g    DF .text  000000000000008c  Base        0x88 gdk_threads_set_lock_functions
00000000000ad738 g    DO .sbss  0000000000000008  Base        gdk_threads_unlock

greg@soap:~$ ldd /usr/bin/gnome-terminal
...
        libgtk-x11-2.0.so.0 => /usr/local/lib/libgtk-x11-2.0.so.0 (0x000002f7e3e46000)
...

doh!  thanks.  looks like i had an old compilation of gtk+ 2.2.2 installed
in /usr/local from before i upgraded to sarge.  my fault.  fixed.

-g