Hi, Have you verified that the shared library that can't be found is in fact somewhere in the file system?
If this is so, its directory should be listed in /etc/ld.so.conf and I think you have to run ldconfig as root to re-read this file. Then I would try to rerun the installation without modifying the setup file. Saludos, Gerardo On Thu, 25 Jan 2007, Vinu Vikram wrote: > Thanks Michael! > But I have already tried > ./configure > make > make install > without editing the Setup file. But then I could not import Tkinter module > from python. > regards > Vinu V. > > > > Message: 1 > > Date: Wed, 24 Jan 2007 13:12:38 +0200 > > From: Alexander Belchenko <[EMAIL PROTECTED]> > > Subject: [Tkinter-discuss] Tk Happy > > To: [email protected] > > Message-ID: <[EMAIL PROTECTED]> > > Content-Type: text/plain; charset=KOI8-R > > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > I'm not sure I saw announce in this mailing list > > so please excuse me if this is double. > > I just saw this announce in another place: > > > > ANN: tk_happy, a framework for creating python Tk apps > > > > The main idea behind tk_happy is to allow a fully "wired" Tkinter > > application to be quickly created . The users main responsibility is to > > add logic to the Tkinter framework created by > > tk_happy. > > > > http://tk-happy.sourceforge.net/ > > > > > > Alexander > > > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.4.5 (MingW32) > > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > > > iD8DBQFFtz8lzYr338mxwCURAll2AJ9xFyAq/x7bgzbhKxrD7xUfl0EoRwCfZFMU > > zmc+pap3XW9z+tv6Mc+utJU= > > =w9h+ > > -----END PGP SIGNATURE----- > > > > > > > > ------------------------------ > > > > Message: 2 > > Date: Wed, 24 Jan 2007 17:17:39 +0530 > > From: "Vinu Vikram" <[EMAIL PROTECTED]> > > Subject: [Tkinter-discuss] Problem when installing python with tkinter > > module > > To: [email protected] > > Message-ID: > > <[EMAIL PROTECTED]> > > Content-Type: text/plain; charset="iso-8859-1" > > > > Dear Sir > > I am facing problem when I tried to install python with tkinter module > > enabled in redhat linux machine. I installed tcl/tk v 8.4.14 properly. > > Then > > I have edited the Setup file and it looks like the below. > > > > # The _tkinter module. > > # > > # The command for _tkinter is long and site specific. Please > > # uncomment and/or edit those parts as indicated. If you don't have a > > # specific extension (e.g. Tix or BLT), leave the corresponding line > > # commented out. (Leave the trailing backslashes in! If you > > # experience strange errors, you may want to join all uncommented > > # lines and remove the backslashes -- the backslash interpretation is > > # done by the shell's "read" command and it may not be implemented on > > # every system. > > > > # *** Always uncomment this (leave the leading underscore in!): > > _tkinter _tkinter.c tkappinit.c -DWITH_APPINIT \ > > # *** Uncomment and edit to reflect where your Tcl/Tk libraries are: > > -L/usr/local/lib \ > > # *** Uncomment and edit to reflect where your Tcl/Tk headers are: > > -I/usr/local/include \ > > # *** Uncomment and edit to reflect where your X11 header files are: > > -I/usr/X11R6/include \ > > # *** Or uncomment this for Solaris: > > # -I/usr/openwin/include \ > > # *** Uncomment and edit for Tix extension only: > > # -DWITH_TIX -ltix8.1.8.2 \ > > # *** Uncomment and edit for BLT extension only: > > # -DWITH_BLT -I/usr/local/blt/blt8.0-unoff/include -lBLT8.0 \ > > # *** Uncomment and edit for PIL (TkImaging) extension only: > > # (See http://www.pythonware.com/products/pil/ for more info) > > # -DWITH_PIL -I../Extensions/Imaging/libImaging tkImaging.c \ > > # *** Uncomment and edit for TOGL extension only: > > # -DWITH_TOGL togl.c \ > > # *** Uncomment and edit to reflect your Tcl/Tk versions: > > -ltk8.4 -ltcl8.4 \ > > # *** Uncomment and edit to reflect where your X11 libraries are: > > -L/usr/X11R6/lib \ > > # *** Or uncomment this for Solaris: > > # -L/usr/openwin/lib \ > > # *** Uncomment these for TOGL extension only: > > # -lGL -lGLU -lXext -lXmu \ > > # *** Uncomment for AIX: > > # -lld \ > > # *** Always uncomment this; X11 libraries to link with: > > -lX11 > > > > > > But whenever I make python-2.4.3 it shows the error > > > > ./python: error while loading shared libraries: libtk8.4.so: cannot open > > shared object file: No such file or directory > > make: *** [sharedmods] Error 127 > > > > I request you to help me to solve the problem. > > Thanking You > > -- > > VINU VIKRAM > > http://iucaa.ernet.in/~vvinuv/ > > -------------- next part -------------- > > An HTML attachment was scrubbed... > > URL: > > http://mail.python.org/pipermail/tkinter-discuss/attachments/20070124/2c0278f7/attachment.html > > > > ------------------------------ > > > > Message: 3 > > Date: Wed, 24 Jan 2007 18:28:23 +0100 > > From: Michael Lange <[EMAIL PROTECTED]> > > Subject: Re: [Tkinter-discuss] Problem when installing python with > > tkinter module > > To: [email protected] > > Message-ID: <[EMAIL PROTECTED]> > > Content-Type: text/plain; charset=US-ASCII > > > > Hi, > > > > I know it is not exactly what you have been asking, but aren't there any > > precompiled rpm packages for your redhat system available? > > And, if not, why do you edit the setup file? For me always a simple > > ./configure && make && make install worked fine. Have you already tried > > this, > > and if yes, what went wrong? > > > > Michael > > > > On Wed, 24 Jan 2007 17:17:39 +0530 > > "Vinu Vikram" <[EMAIL PROTECTED]> wrote: > > > > > Dear Sir > > > I am facing problem when I tried to install python with tkinter module > > > enabled in redhat linux machine. I installed tcl/tk v 8.4.14 properly. > > Then > > > I have edited the Setup file and it looks like the below. > > > > > > # The _tkinter module. > > > # > > > # The command for _tkinter is long and site specific. Please > > > # uncomment and/or edit those parts as indicated. If you don't have a > > > # specific extension (e.g. Tix or BLT), leave the corresponding line > > > # commented out. (Leave the trailing backslashes in! If you > > > # experience strange errors, you may want to join all uncommented > > > # lines and remove the backslashes -- the backslash interpretation is > > > # done by the shell's "read" command and it may not be implemented on > > > # every system. > > > > > > # *** Always uncomment this (leave the leading underscore in!): > > > _tkinter _tkinter.c tkappinit.c -DWITH_APPINIT \ > > > # *** Uncomment and edit to reflect where your Tcl/Tk libraries are: > > > -L/usr/local/lib \ > > > # *** Uncomment and edit to reflect where your Tcl/Tk headers are: > > > -I/usr/local/include \ > > > # *** Uncomment and edit to reflect where your X11 header files are: > > > -I/usr/X11R6/include \ > > > # *** Or uncomment this for Solaris: > > > # -I/usr/openwin/include \ > > > # *** Uncomment and edit for Tix extension only: > > > # -DWITH_TIX -ltix8.1.8.2 \ > > > # *** Uncomment and edit for BLT extension only: > > > # -DWITH_BLT -I/usr/local/blt/blt8.0-unoff/include -lBLT8.0 \ > > > # *** Uncomment and edit for PIL (TkImaging) extension only: > > > # (See http://www.pythonware.com/products/pil/ for more info) > > > # -DWITH_PIL -I../Extensions/Imaging/libImaging tkImaging.c \ > > > # *** Uncomment and edit for TOGL extension only: > > > # -DWITH_TOGL togl.c \ > > > # *** Uncomment and edit to reflect your Tcl/Tk versions: > > > -ltk8.4 -ltcl8.4 \ > > > # *** Uncomment and edit to reflect where your X11 libraries are: > > > -L/usr/X11R6/lib \ > > > # *** Or uncomment this for Solaris: > > > # -L/usr/openwin/lib \ > > > # *** Uncomment these for TOGL extension only: > > > # -lGL -lGLU -lXext -lXmu \ > > > # *** Uncomment for AIX: > > > # -lld \ > > > # *** Always uncomment this; X11 libraries to link with: > > > -lX11 > > > > > > > > > But whenever I make python-2.4.3 it shows the error > > > > > > ./python: error while loading shared libraries: libtk8.4.so: cannot open > > > shared object file: No such file or directory > > > make: *** [sharedmods] Error 127 > > > > > > I request you to help me to solve the problem. > > > Thanking You > > > -- > > > VINU VIKRAM > > > http://iucaa.ernet.in/~vvinuv/ > > > > > > > > > ------------------------------ > > > > _______________________________________________ > > Tkinter-discuss mailing list > > [email protected] > > http://mail.python.org/mailman/listinfo/tkinter-discuss > > > > > > End of Tkinter-discuss Digest, Vol 35, Issue 20 > > *********************************************** > > > > > > _______________________________________________ Tkinter-discuss mailing list [email protected] http://mail.python.org/mailman/listinfo/tkinter-discuss
