Package: python-dev Version: 2.7.11-1 Severity: normal Dear Maintainer,
13:54 < azeem> /usr/bin/ld: /usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.a(zlibmodule.o): undefined reference to symbol 'inflateInit2_' 13:55 < azeem> sorry, that's my current attempt at a new nwchem upload 13:56 < azeem> it has EXTRA_LIBS += $(shell $(PYTHONHOME)/bin/python-config --ldflags) 13:56 < azeem> so I am a bit confused about the missing -lz 13:57 < mapreri> mattia@chase ~ % /usr/bin/python-config --ldflags 13:57 < mapreri> -L/usr/lib/python2.7/config-x86_64-linux-gnu -L/usr/lib -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions 13:57 < mapreri> I don't see -lz there, btw. 13:59 < azeem> mapreri: right, but ldd /usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.so links to it 13:59 < azeem> and apparently the .a references it as well 13:59 < wRAR> pkg-config --libs --static python doesn't list -lz erther 13:59 < wRAR> *either 14:00 < azeem> wRAR: well, is that a bug or by design 14:00 < wRAR> I'd say a bug I was confused about the EXTRA_LIBS above, I think the package actually runs python-config --libs. In any case, I think python-config --libs should be enough to link to libpython, but it seems an extra -lz is required? Michael