Martin Panter added the comment: Yes it is okay. The code is compiling a dummy file without main(), just to see what libraries GCC tries to link with it. It is only interested in extracting the line matching *libc.so.*, which in your case should be
/lib/i386-linux-gnu/libc.so.6 So you should find that ctypes.util._findLib_gcc("c") still returns this path, even though the compile command technically fails. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22636> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com