Sketch build/install problem

Grant Edwards grante at visi.com
Thu Aug 16 14:42:09 EDT 2001


I joined the sketch mailing list yesterday and sent this -- but
haven't seen anything from the mailing list other than the
request for a subcribe confirmation.  

Since the sketch mailing seems to be incommunicado, I thought
maybe somebody here might have an idea...

---------------------------------------------------------------

I just upgraded sketch to 1.6.12 (1.6.8 had been working but I
broke it when I upgraded Python to 2.1).

The configure/build/install worked without a problem, but when
try to run sketch I get an undefined symblol error:

   $ sketch
   Traceback (most recent call last):
     File "/usr/local/bin/sketch", line 34, in ?
       Sketch.main.main()
     File "/usr/local/lib/sketch-0.6.12/Sketch/Base/main.py", line 142, in main
       Sketch.init_ui()
     File "/usr/local/lib/sketch-0.6.12/Sketch/__init__.py", line 172, in init_ui
       import paxtkinter
   ImportError: /usr/local/bin/../lib/sketch-0.6.12/Sketch/../Lib/paxtkinter.so: undefined symbol: XDestroyWindow

If I go look at that file...

   $ pwd
   /usr/local/lib/sketch-0.6.12/Lib
   
   $ nm -A paxtkinter.so | grep " XDest"
   paxtkinter.so:         U XDestroyIC
   paxtkinter.so:         U XDestroyRegion
   paxtkinter.so:         U XDestroyWindow
   
   $ ldd paxtkinter.so 
           libc.so.6 => /lib/libc.so.6 (0x40147000)
           /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

XDestroyWindow is defined in /usr/X11R6/lib/libX11.so:

$ nm -a /usr/X11R6/lib/libX11.so | grep " XDest"
00049320 T XDestroyIC
00024450 T XDestroyImage
000498c0 T XDestroyOC
0002b620 T XDestroyRegion
00018fa0 T XDestroySubwindows
00019030 T XDestroyWindow

But, paxtkinter.so doesn't pull in libX11.so.  

Any ideas what I did wrong?

-- 
Grant Edwards                   grante             Yow!  My Aunt MAUREEN was
                                  at               a military advisor to IKE &
                               visi.com            TINA TURNER!!



More information about the Python-list mailing list