python make dies :libtk8.5.so: cannot open shared object file: No such file or directory

Tony Lay tonylay at gmail.com
Mon Jul 13 10:24:08 EDT 2009


On Jul 13, 10:09 am, Christian Heimes <li... at cheimes.de> wrote:
> Tony Lay wrote:
> > # cd /usr/local/lib
>
> > # ls -la | grep libtk8.5.so
>
> > -r-xr-xr-x   1 root root  1112606 Jul 10 13:28 libtk8.5.so
>
> > Am I missing something, it’s there?
>
> Is /usr/local/lib in your library search path? It looks like it isn't.
> Check /etc/ld.so.conf and /etc/ld.so.conf.d/.
>
> Christian

I added /usr/local/lib to ld.so.conf.d/python26.conf and ran ldconfig
(thanks Chrisitan)

Ran a make distclean (had to move the files and got a “file not found”
from my previous working directory).

Everything compiled and installed like a charm.  Thanks!



More information about the Python-list mailing list