Bug 1226015 - We seem to have empty `pkg-config --libs python3`
Summary: We seem to have empty `pkg-config --libs python3`
Status: RESOLVED INVALID
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Python (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Python maintainers (group account)
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-05 17:56 UTC by Matej Cepl
Modified: 2024-06-06 12:57 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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`.