Package: python3.1-dev Version: 3.1.1-3 Severity: normal I use the following code to find out how to link against libpython:
python -c "import distutils.sysconfig,string; print(' '.join(filter(None,distutils.sysconfig.get_config_vars('LIBS','LIBC','LIBM','LOCALMODLIBS','BASEMODLIBS'))))" python2.5 produces: -lpthread -ldl -lutil -lm python2.6 produces: -lpthread -ldl -lutil -lm -lssl -lcrypto -lssl -lcrypto -L/usr/lib -lz python3.1 produces: -lpthread -ldl -lutil -lm -lssl -lcrypto -lssl -lcrypto -lffi -L/usr/lib -lz But none of these additional libraries are mentioned in package dependencies. Especially libffi-dev is fairly obscure and unlikely to be installed. If this list of libraries is actually correct, then some dependencies should be added. Otherwise, perhaps /usr/lib/python3.1/config/Makefile and/or the distutils module should be adjusted. Or maybe this is the wrong method, but it has basically worked like that for many years. -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.30-2-686 (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python3.1-dev depends on: ii libpython3.1 3.1.1-3 Shared Python runtime library (ver ii python3.1 3.1.1-3 An interactive high-level object-o Versions of packages python3.1-dev recommends: ii libc6-dev [libc-dev] 2.10.2-2 GNU C Library: Development Librari python3.1-dev suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org