[issue33347] zlibmodule undefined reference

2018-04-24 Thread Lucian Cristian
Lucian Cristian <lucian.crist...@gmail.com> added the comment: it seems that python-config --libs doesn't detect -lz and appending -lz fixes the problem -PYTHON_LIBS="`\"${PYTHONCONFIG}\" --libs`" +PYTHON_LIBS="`

[issue33347] zlibmodule undefined reference

2018-04-24 Thread Lucian Cristian
New submission from Lucian Cristian <lucian.crist...@gmail.com>: trying to compile a utility in Openwrt and when pip-install is selected and zlib is linked to python I get this: staging_dir/hostpkg/lib/libpython2.7.a(zlibmodule.o): In function `PyZlib_crc32': build_dir/hostpkg/Python-