OSX 10.10, symbol pam_start not found
Hi,
I am trying to use simplepam 0.1.5 with python 3.4.2 on OS X 10.10.1 (from ipython 3.0.0-dev) but it fails when it tries to access pam_start in libpam. The same problem exists in python 2 (simplepam @ python 2.7.6).
Cheers, /J
from simplepam import authenticate
AttributeError Traceback (most recent call last)
/usr/local/lib/python3.4/site-packages/simplepam.py in
/usr/local/Cellar/python3/3.4.2_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/ctypes/init.py in getattr(self, name) 362 if name.startswith('') and name.endswith(''): 363 raise AttributeError(name) --> 364 func = self.getitem(name) 365 setattr(self, name, func) 366 return func
/usr/local/Cellar/python3/3.4.2_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/ctypes/init.py in getitem(self, name_or_ordinal) 367 368 def getitem(self, name_or_ordinal): --> 369 func = self._FuncPtr((name_or_ordinal, self)) 370 if not isinstance(name_or_ordinal, int): 371 func.name = name_or_ordinal
AttributeError: dlsym(RTLD_DEFAULT, pam_start): symbol not found
Compare #6, similarly this is not expected to work.