Bug 1226015

Summary: We seem to have empty `pkg-config --libs python3`
Product: [openSUSE] openSUSE Tumbleweed Reporter: Matej Cepl <mcepl>
Component: PythonAssignee: Python maintainers (group account) <python-maintainers>
Status: RESOLVED INVALID QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Matej Cepl 2024-06-05 17:56:15 UTC
~$ pkg-config --exists python3 ; echo $status
0
~$ pkg-config --libs python3

~$ rpm -qf /usr/lib64/pkgconfig/python3.pc
python311-devel-3.11.9-2.1.x86_64
~$ cat /usr/lib64/pkgconfig/python3.pc
# See: man pkg-config
prefix=/usr
exec_prefix=/usr
libdir=/usr/lib64
includedir=/usr/include

Name: Python
Description: Build a C extension for Python
Requires:
Version: 3.11
Libs.private: -ldl 
Libs:
Cflags: -I${includedir}/python3.11
~$
Comment 1 Matej Cepl 2024-06-06 12:57:38 UTC
It should be `python3-embed` not `python3`.