python3.2 'MODLIBS' includes -lffi (but not in Ubuntu)
Since it is getting late I decided to just ask
Bradley M. Froehle is helping out with python3-mpi4py and we ran into an
interesting effect that clean chroot fails to build under Debian sid due
to -lffi (while libffi-dev is nohow pulled in through build-depends)
> python3.2 -c "from distutils.sysconfig import get_config_var; print(get_config_var('MODLIBS'))"
-lssl -lcrypto -lssl -lcrypto -lffi -L/usr/lib -lz -lexpat
while with python2 and python3.2 under Ubuntu 12.04 does not include
-lffi . Those are defined in
> grep LOCALMODLIBS= "/usr/lib/python3.2/config-3.2mu/Makefile"
LOCALMODLIBS= -lssl -lcrypto -lssl -lcrypto -lffi -L$(exec_prefix)/lib -lz -lexpat
which is
> head "/usr/lib/python3.2/config-3.2mu/Makefile"
# Generated automatically from Makefile.pre by makesetup.
# Top-level Makefile for Python
...
but I haven't checked where it gets those libraries listing from and why
it picks up ffi exclusively in Debian sid. Maybe some one has a ready answer?
--
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: