[Python-Dev] Debian wheezy, amd64: make not finding files for bz2 and other packages

Christian Heimes lists at cheimes.de
Sat May 5 16:04:40 CEST 2012


Am 05.05.2012 15:39, schrieb Antoine Pitrou:
> On Sat, 05 May 2012 15:31:24 +0200
> Christian Heimes <lists at cheimes.de> wrote:
>> Am 05.05.2012 12:36, schrieb Antoine Pitrou:
>>>
>>> Hello,
>>>
>>> On Fri, 04 May 2012 14:07:28 -0400
>>> "Edward C. Jones" <edcjones at comcast.net> wrote:
>>>> Filelist of package libbz2-dev in wheezy of architecture amd64
>>>>
>>>> /usr/include/bzlib.h
>>>> /usr/lib/x86_64-linux-gnu/libbz2.a
>>>> /usr/lib/x86_64-linux-gnu/libbz2.so
>>>> /usr/share/doc/libbz2-dev
>>>
>>> setup.py probably doesn't search in the right paths for libbz2.so. I
>>> suggest you open a bug at http://bugs.python.org
>>
>> The issue might be caused by Debian's new multiarch libraries. In recent
>> versions of Debian (and Ubuntu), 64bit and 32bit libraries can coexist
>> on the same system.
> 
> It probably is, but I thought Barry had tackled that in setup.py :-)

The fix needs the dpkg-architecture program. As Tshepang pointed out it
may not be available on Edward's box. I always install build-essential
on all development boxes as it includes GCC, make and dpkg-dev.

Christian



More information about the Python-Dev mailing list