Subject: Re: libtcl84.so.1 Undefined PLT symbol "pthread_*"
To: Marc Recht <marc@geht.de>
From: Simon Gerraty <sjg@juniper.net>
List: tech-pkg
Date: 08/16/2004 18:19:25
On Mon, 16 Aug 2004 23:27:37 +0200, Marc Recht writes:
>--==========7F3131E182EE7B2591E6==========
>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 libpth.so
While tcl builds against against libpthread.so?

===> 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/viewer.py", line 6, in ?
    from Tkinter import *
  File "/usr/pkg/lib/python2p3/lib-tk/Tkinter.py", line 38, in ?
    import _tkinter # If this fails your Python may not be configured for Tk
ImportError: /usr/pkg/lib/libtcl84.so.1: Undefined PLT symbol "pthread_setspecific" (reloc type = 7, symnum = 1146)

I just re-installed tcl - built from src.

2.0 is looking attractive ;-)

--sjg