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

Christian Heimes lists at cheimes.de
Sat May 5 15:31:24 CEST 2012


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.

What's the output of "dpkg-architecture -qDEB_HOST_MULTIARCH" on your
system? It should print out "x86_64-linux-gnu". setup.py supports
multiarch for some time, see PyBuildExt.add_multiarch_paths().

Christian



More information about the Python-Dev mailing list