tags 614828 + patch
thanks

On 02/23/2011 06:22 PM, Sebastian Ramacher wrote:
> Since the last ugprade to 1:2.20-1 it seems that PAM is unable to load
> /lib/security/pam_cap.so. I have the following error message in the syslog:
> 
> Feb 23 16:30:47 sol authdaemond: PAM unable to 
> dlopen(/lib/security/pam_cap.so):
> /lib/security/pam_cap.so: undefined symbol: pam_get_item
> Feb 23 16:30:47 sol authdaemond: PAM adding faulty module:
> /lib/security/pam_cap.so

The attached patch fixed the problem for me.

Kind regards,
-- 
Sebastian Ramacher
--- libcap2-2.20.orig/pam_cap/Makefile
+++ libcap2-2.20/pam_cap/Makefile
@@ -7,7 +7,7 @@ include ../Make.Rules
 # that this next line does *not* require -lpam on it.) If you think it
 # does, *verify that it does*, and if you observe that it fails as
 # written (and you know why it fails), email me and explain why. Thanks!
-LDLIBS += -L../libcap -lcap
+LDLIBS += -L../libcap -lcap -lpam
 
 all: pam_cap.so
 	$(MAKE) testcompile

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to