python 2.1.3 with tkinter support on Solaris 9

Anthony Baxter anthony at interlink.com.au
Tue Jul 30 09:32:13 EDT 2002


>>> Marc Petitmermet wrote
> 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?

Try 'ldd python' and see what it says. Adjust LD_LIBRARY_PATH (don't
forget to 'export' it, depending on shell). Alternately, add -R/p1/local/...
to the link line to force the ld run path.

Anthony

-- 
Anthony Baxter     <anthony at interlink.com.au>   
It's never too late to have a happy childhood.





More information about the Python-list mailing list