Thanks a lot for your work @rion. Works perfectly with my python pam module.
Thanks a lot for the patch. I had to create a symlink because of the make failing with "/usr/bin/ld: cannot find -lpython3.5" After creating the following symlink it compiled successful. ln -sf /usr/lib/x86_64-linux-gnu/libpython3.5m.so /usr/lib/x86_64-linux-gnu/libpython3.5.so Now my module is called on login. I'll report any issues while migrating my module to python3.
Hi, is there any documentation how to build pam-python for python3?