[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Adonthell-general] Python library not found
From: |
shirish शिरीष |
Subject: |
Re: [Adonthell-general] Python library not found |
Date: |
Wed, 6 Mar 2013 01:09:57 +0530 |
at bottom :-
On Wed, Mar 6, 2013 at 12:50 AM, Kai Sterker <address@hidden> wrote:
> Hi Shirish,
Hi Kai,
> see below.
>
>> checking for a Python interpreter with version >= 2.0... python
>> checking for python... /usr/bin/python
>> checking for python version... 2.7
>> checking for python platform... linux2
>> checking for python script directory... ${prefix}/lib/python2.7/site-packages
>> checking for python extension module directory...
>> ${exec_prefix}/lib/python2.7/site-packages
>> checking for Python header files... found
>> checking for Python library... configure: error: *** Python library not found
>>
>> I know/knew that my python library is good but still went to check it.
>>
>> $ aptitude search python2.7-dev
>> i A libpython2.7-dev
>> - Header files and a static library for Python (v2.7)
>> i python2.7-dev
>> - Header files and a static library for Python (v2.7)
>>
>> umm... can somebody look into it and lemme know if I've done something wrong
>> ?
>
> Can you execute the following two commands and post the result?
>
> apt-file search libpython2.7.so
> python -c 'import sys; print sys.prefix'
>
> Regards,
>
> Kai
Here are the results of the commands you asked for :-
$ apt-file search libpython2.7.so
libpython2.7: /usr/lib/libpython2.7.so.1
libpython2.7: /usr/lib/libpython2.7.so.1.0
libpython2.7: /usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.so
libpython2.7: /usr/lib/python2.7/config/libpython2.7.so
libpython2.7: /usr/lib/x86_64-linux-gnu/libpython2.7.so.1
libpython2.7: /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
libpython2.7-dbg: /usr/lib/python2.7/config-x86_64-linux-gnu_d/libpython2.7.so
libpython2.7-dev: /usr/lib/x86_64-linux-gnu/libpython2.7.so
python2.7-dbg: /usr/lib/debug/usr/lib/libpython2.7.so.1.0
python2.7-dbg: /usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py
python2.7-dbg: /usr/lib/debug/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
python2.7-dbg: /usr/lib/python2.7/config_d/libpython2.7.so
python2.7-dev: /usr/lib/libpython2.7.so
$ python -c 'import sys; print sys.prefix'
/usr
I am on a 64-bit system, maybe that's the issue and the path is
different than on 32-bit systems and that what throws the build system
off or something else?
--
Regards,
Shirish Agarwal शिरीष अग्रवाल
My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
065C 6D79 A68C E7EA 52B3 8D70 950D 53FB 729A 8B17