Thomas Grant
2013-10-30 18:25:29 UTC
Dear all,
I recently ran fink update-all and now can't seem to run python 2.7 GUI
applications requiring _tkinter.
When I try and simply import _tkinter in a python shell I get the following
File "<stdin>", line 1, in <module>
ImportError: dlopen(/sw/lib/python2.7/lib-dynload/_tkinter.so, 2): Symbol
not found: _waitpid
Referenced from: /sw/lib/libBLT.2.dylib
Expected in: /sw/lib/libtcl8.5.dylib
in /sw/lib/libBLT.2.dylib
This didn't happen prior to the update. The
file /sw/lib/python2.7/lib-dynload/_tkinter.so exists, but I'm wondering if
something got corrupted during the update perhaps causing the error.
Unfortunately, since so many of my packages require tcl/tk, I am not able
to simply remove and reinstall the tcltk package, because fink tells me
there are other programs that depend on it, so it refuses to remove it.
It sounds like from the TkInter wiki page (
https://wiki.python.org/moin/TkInter) that it may have something to do with
the dynamic linker, but I couldn't figure out how to correct the problem
from there.
Is there any way to reinstall tcl/tk without having to first remove all the
packages dependent on it (which apparently includes python2.7)?
Thanks,
Tom
BTW, I'm running OS X 10.8.4 with Xcode 4.6.3 and Fink version 0.35.2.
I recently ran fink update-all and now can't seem to run python 2.7 GUI
applications requiring _tkinter.
When I try and simply import _tkinter in a python shell I get the following
import _tkinter
Traceback (most recent call last):File "<stdin>", line 1, in <module>
ImportError: dlopen(/sw/lib/python2.7/lib-dynload/_tkinter.so, 2): Symbol
not found: _waitpid
Referenced from: /sw/lib/libBLT.2.dylib
Expected in: /sw/lib/libtcl8.5.dylib
in /sw/lib/libBLT.2.dylib
This didn't happen prior to the update. The
file /sw/lib/python2.7/lib-dynload/_tkinter.so exists, but I'm wondering if
something got corrupted during the update perhaps causing the error.
Unfortunately, since so many of my packages require tcl/tk, I am not able
to simply remove and reinstall the tcltk package, because fink tells me
there are other programs that depend on it, so it refuses to remove it.
It sounds like from the TkInter wiki page (
https://wiki.python.org/moin/TkInter) that it may have something to do with
the dynamic linker, but I couldn't figure out how to correct the problem
from there.
Is there any way to reinstall tcl/tk without having to first remove all the
packages dependent on it (which apparently includes python2.7)?
Thanks,
Tom
BTW, I'm running OS X 10.8.4 with Xcode 4.6.3 and Fink version 0.35.2.