Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
python make dies :libtk8.5.so: cannot open shared object file: No such file or directory
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Tony Lay  
View profile  
 More options Jul 13, 9:57 am
Newsgroups: comp.lang.python
From: Tony Lay <tony...@gmail.com>
Date: Mon, 13 Jul 2009 06:57:29 -0700 (PDT)
Local: Mon, Jul 13 2009 9:57 am
Subject: python make dies :libtk8.5.so: cannot open shared object file: No such file or directory
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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christian Heimes  
View profile  
 More options Jul 13, 10:09 am
Newsgroups: comp.lang.python
From: Christian Heimes <li...@cheimes.de>
Date: Mon, 13 Jul 2009 16:09:47 +0200
Local: Mon, Jul 13 2009 10:09 am
Subject: Re: python make dies :libtk8.5.so: cannot open shared object file: No such file or directory

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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tony Lay  
View profile  
 More options Jul 13, 10:24 am
Newsgroups: comp.lang.python
From: Tony Lay <tony...@gmail.com>
Date: Mon, 13 Jul 2009 07:24:08 -0700 (PDT)
Local: Mon, Jul 13 2009 10:24 am
Subject: Re: python make dies :libtk8.5.so: cannot open shared object file: No such file or directory
On Jul 13, 10:09 am, Christian Heimes <li...@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!


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google