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

Lay, Tony tony.lay at lmco.com
Fri Jul 10 14:03:05 EDT 2009


Trying to build python-2.6.2

 

./configure --prefix=/usr/local --exec-prefix=/usr/local
LDFLAGS="-L/usr/local"

(runs through happily, had to make some libs local)

 

make runs most of the way until.

 

building '_tkinter' extension

gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -DWITH_APPINIT=1 -I/usr/X11R6/include -I.
-I/tmp/meld/Python-2.6.2/./Include -I. -IInclude -I./Include
-I/usr/local/include -I/tmp/meld/Python-2.6.2/Include
-I/tmp/meld/Python-2.6.2 -c /tmp/meld/Python-2.6.2/Modules/_tkinter.c -o
build/temp.linux-i686-2.6/tmp/meld/Python-2.6.2/Modules/_tkinter.o

gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -DWITH_APPINIT=1 -I/usr/X11R6/include -I.
-I/tmp/meld/Python-2.6.2/./Include -I. -IInclude -I./Include
-I/usr/local/include -I/tmp/meld/Python-2.6.2/Include
-I/tmp/meld/Python-2.6.2 -c /tmp/meld/Python-2.6.2/Modules/tkappinit.c -o
build/temp.linux-i686-2.6/tmp/meld/Python-2.6.2/Modules/tkappinit.o

gcc -pthread -shared
build/temp.linux-i686-2.6/tmp/meld/Python-2.6.2/Modules/_tkinter.o
build/temp.linux-i686-2.6/tmp/meld/Python-2.6.2/Modules/tkappinit.o
-L/usr/X11R6/lib64 -L/usr/X11R6/lib -L/usr/local/lib -ltk8.5 -ltcl8.5 -lX11
-o build/lib.linux-i686-2.6/_tkinter.so

*** WARNING: renaming "_tkinter" since importing it failed: libtk8.5.so:
cannot open shared object file: No such file or directory

 

Failed to find the necessary bits to build these modules:

_sqlite3           bsddb185           sunaudiodev

To find the necessary bits, look in setup.py in detect_modules() for the
module's name.

 

 

Failed to build these modules:

_tkinter

 

running build_scripts

# 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?

 

Regards,

 

Tony Lay

UNIX Administration 

407-306-6559

Lockheed Martin - EBS 

One Company, One Team

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090710/14cdbeb5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Anthony (Tony) Lay (tony.lay at lmco.com).vcf
Type: text/x-vcard
Size: 430 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20090710/14cdbeb5/attachment.vcf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7647 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20090710/14cdbeb5/attachment.bin>


More information about the Python-list mailing list