[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: python3.2 'MODLIBS' includes -lffi (but not in Ubuntu)



* Yaroslav Halchenko <debian@onerussian.com>, 2012-05-22, 22:42:
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 .

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

Maybe some one has a ready answer?

Does "do not use (LOCAL)MODLIBS" count as an answer? :)

--
Jakub Wilk


Reply to: