Re: "undefined symbol" in C extension module

2022-01-23 Thread Dan Stromberg
On Sun, Jan 23, 2022 at 9:02 AM Robert Latest via Python-list < python-list@python.org> wrote: > Dan Stromberg wrote: > > Perhaps try: > > https://stromberg.dnsalias.org/svn/find-sym/trunk > > > > It tries to find symbols in C libraries. > > > > In this case, I believe you'll find it in -lpythonx.

Re: "undefined symbol" in C extension module

2022-01-23 Thread Dieter Maurer
Robert Latest wrote at 2022-1-22 11:29 GMT: >I've written some CPython extension modules in the past without problems. Now >after moving to a new Archlinux box with Python3.10 installed, I can't build >them any more. Or rather, I can build them but not use them due to "undefined >symbols" during li

Re: "undefined symbol" in C extension module

2022-01-23 Thread Robert Latest via Python-list
Dan Stromberg wrote: > Perhaps try: > https://stromberg.dnsalias.org/svn/find-sym/trunk > > It tries to find symbols in C libraries. > > In this case, I believe you'll find it in -lpythonx.ym Thanks! Found out that ldd produces many errors also with working python libraries. Turns out I tried to r

Re: "undefined symbol" in C extension module

2022-01-22 Thread Dan Stromberg
Perhaps try: https://stromberg.dnsalias.org/svn/find-sym/trunk It tries to find symbols in C libraries. In this case, I believe you'll find it in -lpythonx.ym On Sat, Jan 22, 2022 at 12:43 PM Robert Latest via Python-list < python-list@python.org> wrote: > Hi guys, > > I've written some CPytho

"undefined symbol" in C extension module

2022-01-22 Thread Robert Latest via Python-list
Hi guys, I've written some CPython extension modules in the past without problems. Now after moving to a new Archlinux box with Python3.10 installed, I can't build them any more. Or rather, I can build them but not use them due to "undefined symbols" during linking. Here's ldd's output when used o