python 2.1.3 with tkinter support on Solaris 9
Marc Petitmermet
petitmermet at mat.ethz.ch
Tue Jul 30 05:19:05 EDT 2002
I still cannot compile python 2.1.3 with tkinter support on Solaris 9. I
have configured the environmental paths LD_LIBRARY_PATH, LD_RUN_PATH,
the Modules/Setup file and even adjusted the /var/ld/ld.config with crle
to include the libraries of tcl and tk libraries.
The problem ist that setup.py still complains that it cannot find
libtk8.3.so although the it is located in /p1/local/tcltk/tk-8.3.4 as
configure Modules/Setup (see below). Can anybody tell me what I'm doing
wrong?
Thanks in advance.
Regards,
Marc
------------
gcc -o python \
Modules/python.o \
libpython2.1.a -lpthread -lsocket -lnsl -ldl -lthread
-L/usr/local/ssl/lib -lssl -lcrypto -lnsl
-L/p1/local/tcltk/tcl-8.3.4/lib -L/p1/local/tcltk/tk-8.3.4/lib -ltk8.3
-ltcl8.3 -L/usr/X11R6/lib -L/usr/openwin/lib -lX11 -lm
PYTHONPATH= ./python ./setup.py build
ld.so.1: ./python: fatal: libtk8.3.so: open failed: No such file or
directory
Killed
More information about the Python-list
mailing list