Re: python3.2 'MODLIBS' includes -lffi (but not in Ubuntu)
On Mon, 28 May 2012, Jakub Wilk wrote:
> >while with python2 and python3.2 under Ubuntu 12.04 does not
> >include -lffi .
> Are you sure?
> $ dpkg-deb -x python3.2-minimal_3.2.3-0ubuntu1_i386.deb .
> $ grep LOCALMODLIBS.*ffi usr/lib/python3.2/config/Makefile
> LOCALMODLIBS= -lssl -lcrypto -lssl -lcrypto -lffi -L$(exec_prefix)/lib -lz -lexpat
now I am sure:
root@head2:/# python3.2 -c "from distutils.sysconfig import get_config_var; print(get_config_var('MODLIBS'))"
-lssl -lcrypto -lssl -lcrypto -L/usr/lib -lz -lexpat
root@head2:/# dpkg -l python3.2
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-=================================================-=================================================-==================================================================================================================
ii python3.2 3.2.3-0ubuntu3 Interactive high-level object-oriented language (version 3.2)
so a reasonable "guess" that it is due to
python3.2 (3.2.3-0ubuntu3) precise-proposed; urgency=low
* Build _ctypes as an extension, not a builtin. LP: #909292.
* Mark symbols defined in the _ctypes extension as optional.
-- Matthias Klose <doko@ubuntu.com> Thu, 03 May 2012 13:20:08 +0200
and LP#909292 said to be the same as
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665359
which is still open in Debian... heh
--
Yaroslav O. Halchenko
Postdoctoral Fellow, Department of Psychological and Brain Sciences
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419
WWW: http://www.linkedin.com/in/yarik
Reply to: