Bug 2372706

Summary: python3-config --libs lists library that is not included as a dependency package
Product: [Fedora] Fedora Reporter: MatusGuy <martusguy>
Component: mingw-python3Assignee: Sandro Mani <manisandro>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 42CC: manisandro
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: mingw-python3-3.11.13-1.fc42 mingw-python3-3.11.13-1.fc41 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-06-23 00:53:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description MatusGuy 2025-06-13 16:00:51 UTC
According to the python3-config script, libpython3 requires libdl. This library is provided via the mingw64-dlfcn package. But that package is not listed as a dependency.

Reproducible: Always

Steps to Reproduce:
Attempt to use python3-config in a build environment
Actual Results:
Linker asks for libdl but cannot find it because it is not installed

Expected Results:
libdl comes with the mingw64-python3 package

Additional Information:
Output of python3-config --libs:
$ /usr/x86_64-w64-mingw32/sys-root/mingw/bin/python3-config --libs
-lpython3.11 -ldl  -lpthread -lversion -lshlwapi -lpathcch -lbcrypt -lm

Comment 1 Fedora Update System 2025-06-14 21:53:58 UTC
FEDORA-2025-fa2b32b269 (mingw-python3-3.11.13-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-fa2b32b269

Comment 2 Fedora Update System 2025-06-14 21:54:01 UTC
FEDORA-2025-100ec9db93 (mingw-python3-3.11.13-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-100ec9db93

Comment 3 Fedora Update System 2025-06-15 02:22:00 UTC
FEDORA-2025-100ec9db93 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-100ec9db93`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-100ec9db93

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2025-06-15 03:14:43 UTC
FEDORA-2025-fa2b32b269 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-fa2b32b269`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-fa2b32b269

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2025-06-23 00:53:36 UTC
FEDORA-2025-100ec9db93 (mingw-python3-3.11.13-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2025-06-23 01:12:58 UTC
FEDORA-2025-fa2b32b269 (mingw-python3-3.11.13-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.