-
Notifications
You must be signed in to change notification settings - Fork 10
Description
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)
in ()
----> 1 from simplepam import authenticate
/usr/local/lib/python3.4/site-packages/simplepam.py in ()
84 ]
85
---> 86 pam_start = libpam.pam_start
87 pam_start.restype = c_int
88 pam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv),
/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