On Sat, 05 May 2012 16:04:40 +0200 Christian Heimes <li...@cheimes.de> wrote: > Am 05.05.2012 15:39, schrieb Antoine Pitrou: > > On Sat, 05 May 2012 15:31:24 +0200 > > Christian Heimes <li...@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" <edcjo...@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.
Perhaps setup.py should detect that? It shouldn't be too hard to parse /etc/debian_version in order to know whether the system is multiarch-enabled. That would avoid confusing build failures. Regards Antoine. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com