bug?: python-config --ldflags gives incorrect output

Joseph Garvin joseph.h.garvin at gmail.com
Fri Aug 14 17:22:12 EDT 2009


On the latest stable ubuntu:

$ python-config --ldflags
-L/usr/lib/python2.6/config -lpthread -ldl -lutil -lm -lpython2.6

In case the user is statically linking, I believe the -lpython2.6
should go before the other -l's. Also, -lz is missing so whenever you
try to link against python you get tons of errors about missing PyZlib
references. Am I right in thinking these are bugs?



More information about the Python-list mailing list