Bug 2372706 - python3-config --libs lists library that is not included as a dependency package
Summary: python3-config --libs lists library that is not included as a dependency package
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mingw-python3
Version: 42
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Sandro Mani
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-06-13 16:00 UTC by MatusGuy
Modified: 2025-06-23 01:12 UTC (History)
1 user (show)

Fixed In Version: mingw-python3-3.11.13-1.fc42 mingw-python3-3.11.13-1.fc41
Clone Of:
Environment:
Last Closed: 2025-06-23 00:53:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.