pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Python cores on trying to import _tkinter



tkinter is looking for something (say _PyAnyInt_Check) that it is not
finding.

bash-4.4# uname -a
NetBSD pi 8.0_RC1 NetBSD 8.0_RC1 (RPI2) #0: Sun Jun 17 16:30:05 IST 2018  root@pi:/usr/src/sys/arch/evbarm/compile/RPI2 evbarm
bash-4.4# /usr/pkg/bin/python2.7
Python 2.7.15 (default, Jun  5 2018, 20:32:03) 
[GCC 5.5.0] on netbsd8
Type "help", "copyright", "credits" or "license" for more information.
>>> import _tkinter
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: /usr/pkg/lib/python2.7/lib-dynload/_tkinter.so: Undefined PLT symbol "_PyAnyInt_Check" (symnum = 176)
>>> ^D
Segmentation fault (core dumped)

Probably core is not that relevant as above error is clearer. Still:

Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0000451c in ?? ()
(gdb) where
#0  0x0000451c in ?? ()
#1  0x70413ec8 in _rtld_exit () from /usr/libexec/ld.elf_so
#2  0x6eb0c6a4 in __cxa_finalize () from /usr/lib/libc.so.12
#3  0x6eb0c298 in exit () from /usr/lib/libc.so.12
#4  0x00010770 in _start ()

x11/py-Tk and lang/python27 are recently updated from current pkgsrc.

Please advise.

Mayuresh


Home | Main Index | Thread Index | Old Index