[issue32647] Undefined references when compiling ctypes on binutils 2.29.1 with gcc -Wl, -z, undefs (Fedora 28)

Christian Heimes report at bugs.python.org
Mon Feb 5 07:33:55 EST 2018


Christian Heimes <lists at cheimes.de> added the comment:

configure.ac already contains the check:

   AC_CHECK_LIB(dl, dlopen)

It should be enough to add:

    if sysconfig.get_config_var('HAVE_LIBDL'):
        libs.append('dl')

to ctypes.

----------
type:  -> compile error
versions: +Python 3.8

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


More information about the Python-bugs-list mailing list