LIBDIR has changed on PyPy 7.3.4
On PyPy 7.3.3, the
LIBDIR used to point to the
>>>> import sysconfig >>>> sysconfig.get_config_var("LIBDIR") '/home/david/pypy3.7-v7.3.3-linux64/bin'
This has changed to the
lib subdirectory in 7.3.4:
>>>> import sysconfig >>>> sysconfig.get_config_var("LIBDIR") '/home/david/pypy3.7-v7.3.4-linux64/lib'
The problem is that
libpypy3-c.so is still located in the
bin subdirectory. PyO3 was using
LIBDIR to locate
libpypy3-c.so, so now with the new PyPy release it can't find it.
I'm happy to be told that PyO3 was doing the wrong thing here (it may need to hard-code the
bin subdirectory as the library search path?). However this seemed like unintentional breakage so I wanted to flag here.