tomega at earthlink.net
Wed May 17 06:05:04 CEST 2000
I had the same problem with tcl, tk and mysql modules. The problem is the
executable doesn't look for the libs in /usr/local/lib (I haven't put much
thought into figuring out why). I solved the problem by making symbolic links
to those libraries in a directory which I was sure the interpreter would read:
>From /usr/lib, enter
ln -s /usr/local/lib/libtk8.3.so libtk.8.3.so
and so on.
I'd like to take this clutter out of /usr/lib. Can anyone tell me how to get
the interpreter to seek libraries in additional directories?
> I do okay with Python, and I do okay with TCL/TK. Today, I begin a project
> which will involve a gui interface, and something that I would naturally
> have begun writing TCL code for.
> The workstation that I use is Linux. (mandrake 6.0) I think, hey, I'll see
> what I can do using tkinter. I re-compile Python to include the tkinter
> module, and it makes fine, but when I make install, error says "libtk8.3.so:
> shared object file not found". Permissions on libtk8.3.so are 755, and it
> resides in /usr/local/lib. I don't see anything wrong...
> So anyway, I never used tkinter today. :) But it bugs me that the module
> won't install. Does anyone have an idea what the problem is?
> Dana Booth <dana at oz.net>
> Tacoma, Wa., USA
> key at pgpkeys.mit.edu:11371
More information about the Python-list