Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Installation/Configuration question

Reply
Thread Tools

Installation/Configuration question

 
 
googlemonster
Guest
Posts: n/a
 
      07-27-2004
I downloaded the pre-compiled Python packages from sunfreeware.com,
installed them on my Solaris 8 box. I am trying to do a simple import
of Tkinter. Since I installed Tcl 8.4 as well as Tk 8.4, and set my
environment variables, I should be in reasonable good shape. However,
I get the following errors:

(this is what is in my profile:
TCL_LIBRARY=/usr/local/lib/tcl8.4
TK_LIBRARY=/usr/local/lib/tk8.4
export TCL_LIBRARY TK_LIBRARY

chantilly> . /.profile
chantilly> python
Python 2.3.3 (#2, Mar 10 2004, 06:28:2
[GCC 3.3.2] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> from Tkinter import *

Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/local/lib/python2.3/lib-tk/Tkinter.py", line 38, in ?
import _tkinter # If this fails your Python may not be configured
for Tk
ImportError: ld.so.1: python: fatal: relocation error: file
/usr/local/lib/libtk8.4.so: symbol __eprintf: referenced symbol not
found

It would appear that I am not set up correctly, yet I don't know where
I went wrong. Can someone help me?
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
question row filter (more of sql query question) =?Utf-8?B?YW5kcmV3MDA3?= ASP .Net 2 10-06-2005 01:07 PM
Quick Question - Newby Question =?Utf-8?B?UnlhbiBTbWl0aA==?= ASP .Net 4 02-16-2005 11:59 AM
Question on Transcender Question :-) eddiec MCSE 6 05-20-2004 06:59 AM
Question re: features of the 831 router (also a 924 question) Wayne Cisco 0 03-02-2004 07:57 PM
Syntax Question - Novice Question sean ASP .Net 1 10-20-2003 12:18 PM



Advertisments