I get the following error trying to import _tkinter in a Python 2.0 build: > ./python ./python: error in loading shared libraries: libtk8.3.so: cannot open shared object file: No such file or directory Here is the relevant section of my Modules/Setup: _tkinter _tkinter.c tkappinit.c -DWITH_APPINIT \ -I/usr/local/include \ -I/usr/X11R6/include \ -L/usr/local/lib \ -ltk8.3 -ltcl8.3 \ -L/usr/X11R6/lib \ -lX11 I got the Tcl/Tk 8.3 source from dev.scriptics.com, and ran > ./configure --enable-gcc --enable-shared > make > make install # as root in the tcl and tk source directories. The tcl and tk libs are in /usr/local/lib: [trentm@molotok contrib]$ ls -alF /usr/local/lib ... -r-xr-xr-x 1 root root 579177 Sep 17 14:03 libtcl8.3.so* -rw-r--r-- 1 root root 1832 Sep 17 14:03 libtclstub8.3.a -r-xr-xr-x 1 root root 778034 Sep 17 14:10 libtk8.3.so* -rw-r--r-- 1 root root 3302 Sep 17 14:10 libtkstub8.3.a drwxr-xr-x 8 root root 4096 Sep 17 14:03 tcl8.3/ -rw-r--r-- 1 root root 6722 Sep 17 14:03 tclConfig.sh drwxr-xr-x 4 root root 4096 Sep 17 14:10 tk8.3/ -rw-r--r-- 1 root root 3385 Sep 17 14:10 tkConfig.sh Does anybody know what my problem is? Is the error from libtk8.3.so complaining that it cannot load a library on which it depends? Is there some system library dependency that I am likely missing? Thanks, Trent -- Trent Mick TrentM@ActiveState.com
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4