Re: [gentoo-user] pam error, cant su -

2005-07-26 Thread Richard Fish

Jorge Boscan wrote:

pam does not compile 


*** Building pam-unix module of the framework...

mkdir -p /var/tmp/portage/pam-0.78-r2/image//lib/security
install -m 755 pam_unix.so /var/tmp/portage/pam-0.78-r2/image//lib/security
 


[...]


 * Checking if all modules were built...

  * ERROR: pam_cracklib have dependencies in /usr.
 



Try running:

ldd /var/tmp/portage/pam-0.78-r2/image/lib/security/pam_cracklib*.so

That should turn up what library is linked in /usr instead of /lib.  My guess 
is probably libcrypt.so, but might be libpam as well...

-Richard


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] pam error, cant su -

2005-07-26 Thread Jerry McBride
On Tuesday 26 July 2005 10:23 am, Jorge Boscan wrote:
 pam does not compile

 *** Building pam-unix module of the framework...


---snip---

* Checking if all modules were built...

 * ERROR: pam_cracklib have dependencies in /usr.

I just had this problem while upgrading an older desktop. What's happening 
is... you updated cracklib to version 2.80 which installed it's libraries 
under /usr/lib and the install scripts left an old 2.70 cracklib library 
under /usr. 

Look under /usr and then under /usr/lib. Checking  tobe certain that cracklib 
2.80 is indeed installed on  your computer. Then delete the old *crack* stuff 
from /usr.  Pam will now install correctly.

Cheers.

-- 

**
 Registered Linux User Number 185956
  FSF Associate Member number 2340 since 05/20/2004
 Join me in chat at #linux-users on irc.freenode.net
Buy an Xbox for $149.00, run linux on it and Microsoft loses $150.00!
  4:47pm  up 8 days, 16:46,  1 user,  load average: 0.01, 0.00, 0.00
-- 
gentoo-user@gentoo.org mailing list