You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Undefined References when using recommended linking option: Embedding Python in C++ #93358
changed the title [-]Embedding Python in C++: Compiling and Linking under Ubuntu 22.04[/-][+]Undefined References when using recommended linking option: Embedding Python in C++ (Ubuntu 22.04)[/+]on May 30, 2022
changed the title [-]Undefined References when using recommended linking option: Embedding Python in C++ (Ubuntu 22.04)[/-][+]Undefined References when using recommended linking option: Embedding Python in C++ [/+]on May 30, 2022
Activity
[-]Embedding Python in C++: Compiling and Linking under Ubuntu 22.04[/-][+]Undefined References when using recommended linking option: Embedding Python in C++ (Ubuntu 22.04)[/+][-]Undefined References when using recommended linking option: Embedding Python in C++ (Ubuntu 22.04)[/-][+]Undefined References when using recommended linking option: Embedding Python in C++ [/+]TianmingQu commentedon Oct 24, 2022
erlend-aasland commentedon Oct 25, 2022
Yes, the docs are out of date. This was changed in Python 3.8 -- see the 3.8 What's New:
https://docs.python.org/3/whatsnew/3.8.html#debug-build-uses-the-same-abi-as-release-build
Adding
--embedwhen producing the linker flags should help. I'll create a PR for updating the docs.erlend-aasland commentedon Oct 25, 2022
pythongh-93358: Fix python-config docs for how to embed Python
gh-93358: Fix python-config docs for how to embed Python (#98649)
pythongh-93358: Fix python-config docs for how to embed Python (pytho…
pythongh-93358: Fix python-config docs for how to embed Python (pytho…
erlend-aasland commentedon Oct 29, 2022
The docs were updated by the following PRs:
gh-93358: Fix python-config docs for how to embed Python (GH-98649)
gh-93358: Fix python-config docs for how to embed Python (GH-98649)