Subject: Undefined PLT symbol "pthread_*"
To: None <>
From: Simon Gerraty <>
List: tech-pkg
Date: 08/09/2004 16:18:12
I wanted to play with py22-imagingtk, so installed a bunch of binary
packages from ftp.n.o/ftp/pub/NetBSD/packages/1.6.2/i386
including tcl-8.4.6nb2, but anything that wants to use it fails with
pthread_ related symbols missing.  

It says it needs /usr/pkg/lib/ which is installed from
pth-2.0.0.tgz but I still get:

Traceback (most recent call last):
  File "/usr/pkg/share/examples/py22-imaging/", line 6, in ?
    from Tkinter import *
  File "/usr/pkg/lib/python2.2/lib-tk/", line 35, in ?
    import _tkinter # If this fails your Python may not be configured for Tk
ImportError: /usr/pkg/lib/ Undefined PLT symbol "pthread_setspecific" (reloc type = 7, symnum = 1137)

BTW there was an astonishing number of packages that needed to be
installed/replaced to get this far, (ie. had to pkg_delete -f a bunch
of pakcages in order to replace them with the newer versions needed by
other packages), but all recently added packages came from the above