Python 2.3b1 + Tkinter on Solaris 2.6

Jeff Bauer jbauer at rubic.com
Sat Apr 26 21:21:44 EDT 2003


Prior to filing a bug report, I wanted to check
if there's anything obvious I'm overlooking with
getting tk8.4.2 working with Python2.3b1 on
Solaris 2.6.

I've not modified Modules/Setup, but I have recompiled
and reinstalled tcl/tk after the first failure to
ensure that I'm not working with stale libraries.

running build
running build_ext
building '_tkinter' extension
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_APPINIT=1 
  -I/usr/openwin/include -I.
-I/export/home/jbauer/Python-2.3b1/./Include
  -I/usr/local/include -I/export/home/jbauer/Python-2.3b1/Include
  -I/export/home/jbauer/Python-2.3b1
  -c /export/home/jbauer/Python-2.3b1/Modules/_tkinter.c 
  -o build/temp.solaris-2.6-sun4u-2.3/_tkinter.o

gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_APPINIT=1
  -I/usr/openwin/include -I.
-I/export/home/jbauer/Python-2.3b1/./Include
  -I/usr/local/include -I/export/home/jbauer/Python-2.3b1/Include
  -I/export/home/jbauer/Python-2.3b1
  -c /export/home/jbauer/Python-2.3b1/Modules/tkappinit.c
  -o build/temp.solaris-2.6-sun4u-2.3/tkappinit.o

gcc -shared build/temp.solaris-2.6-sun4u-2.3/_tkinter.o 
  build/temp.solaris-2.6-sun4u-2.3/tkappinit.o -L/usr/openwin/lib
  -L/usr/local/lib -ltk8.4 -ltcl8.4 -lX11
  -o build/lib.solaris-2.6-sun4u-2.3/_tkinter.so

*** WARNING: renaming "_tkinter" since importing it failed:
  ld.so.1: ./python: fatal: relocation error: file
  /usr/local/lib/libtk8.4.so: symbol __eprintf: referenced symbol not
found

--
Jeff Bauer
Rubicon Research





More information about the Python-list mailing list