[issue41981] Errors building python 3.9.0 from source on Centos 7 with GCC 10

STINNER Victor report at bugs.python.org
Fri Oct 9 10:57:29 EDT 2020


STINNER Victor <vstinner at python.org> added the comment:

config.log:

configure:11697: checking for readlink
configure:11697: gcc -pthread -(...) -lpanelw -lbz2 -lpthread -ldl  >&5
/bin/ld: cannot find -lpanelw

It seems like many tests are failing because of -lpanelw and the missing library.

According to config.log, you passed it explicitly to the configure command:

  $ ./configure --prefix=/usr/local/python-3.9.0/ --with-tcltk-includes=-I/usr/local/tcl-8.7a3/include/ -I/usr/local/tk-8.7a3/include/ --with-tcltk-libs=-L/usr/local/tcl-8.7a3/lib/ -L/usr/local/tk-8.7a3/lib/ --with-libs=-luuid -lX11 -ltcl8.7 -ltk8.7 -lpanelw -lbz2 --disable-ipv6 --enable-optimizations --with-lto

Try to remove -lpanelw.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41981>
_______________________________________


More information about the Python-bugs-list mailing list