Subject: Re: Undefined PLT symbol "pthread_*"
To: Marc Recht <>
From: Simon Gerraty <>
List: tech-pkg
Date: 08/16/2004 18:19:25
On Mon, 16 Aug 2004 23:27:37 +0200, Marc Recht writes:
>Content-Type: text/plain; charset=us-ascii; format=flowed
>Content-Transfer-Encoding: quoted-printable
>Content-Disposition: inline
>> Ok I finally got this to work - on -current anyway.
>> The trick was to set PYTHON_VERSION_DEFAULT=3D23pth
>This should work on all systems.

Except that on 1.6.2 we get python linked against
While tcl builds against against

===> Registering installation for tcl-8.4.6nb5
tcl-8.4.6nb5 requires installed package pth-2.0.0

As far as I can see I only have pth-2.0.0 installed, so why do I get
this conflict?

Traceback (most recent call last):
  File "/usr/pkg/share/examples/py23pth-imaging/", line 6, in ?
    from Tkinter import *
  File "/usr/pkg/lib/python2p3/lib-tk/", line 38, 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 = 1146)

I just re-installed tcl - built from src.

2.0 is looking attractive ;-)