"undefined symbol" in C extension module

Dan Stromberg drsalists at gmail.com
Sun Jan 23 13:20:50 EST 2022


On Sun, Jan 23, 2022 at 9:02 AM Robert Latest via Python-list <
python-list at 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.ym
>
> Thanks! Found out that ldd produces many errors also with working python
> libraries. Turns out I tried to revive a package from v2.7. Need to adapt
> it to 3.x
>

I wonder if you're missing a -Wl,-rpath -Wl,/path/to/library/dir
?


More information about the Python-list mailing list