New submission from Charalampos Stratakis <cstra...@redhat.com>:

Original bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1537489

As soon as strict symbol checking was enabled on the development branch of 
Fedora, our build of CPython started failing due to undefined symbols when 
compiling ctypes.

Build log is attached.

That seems to be because ctypes are not explicitly linked against -ldl.

This can be fixed by adding the -ldl flag at 
https://github.com/python/cpython/blob/master/setup.py#L1935 , not sure though 
how portable that is.

----------
files: build.log
messages: 310583
nosy: cstratak
priority: normal
severity: normal
status: open
title: Undefined references when compiling ctypes
versions: Python 3.6, Python 3.7, Python 3.8
Added file: https://bugs.python.org/file47407/build.log

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32647>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to