Installation/Configuration question

Discussion in 'Python' started by googlemonster, Jul 27, 2004.

  1. 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:28)
    [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?
     
    googlemonster, Jul 27, 2004
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Elrey Ronald V.

    Whidbey Installation Question ( PDC version )

    Elrey Ronald V., Dec 11, 2003, in forum: ASP .Net
    Replies:
    4
    Views:
    410
    Alex Papadimoulis
    Dec 11, 2003
  2. rdlebreton
    Replies:
    3
    Views:
    11,254
    Greg Burns
    Jul 22, 2004
  3. Luis Esteban Valencia

    Change configuration files after installation.

    Luis Esteban Valencia, Jul 12, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    696
    Luis Esteban Valencia
    Jul 12, 2005
  4. Mark
    Replies:
    0
    Views:
    1,066
  5. Raphael Bossek
    Replies:
    1
    Views:
    367
    Nicholas Wieland
    Aug 21, 2003
  6. Replies:
    7
    Views:
    14,470
    David Boddie
    Jul 16, 2006
  7. Jason Zapman II
    Replies:
    7
    Views:
    489
    Jason Zapman II
    Jun 25, 2007
  8. David G. Hong
    Replies:
    2
    Views:
    163
    David G. Hong
    Apr 21, 2008
Loading...