Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[emerge pam] pam_cracklib have dependencies in /usr - SOLVED
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Gavos
n00b
n00b


Joined: 20 Dec 2004
Posts: 10

PostPosted: Mon Mar 21, 2005 6:35 pm    Post subject: [emerge pam] pam_cracklib have dependencies in /usr - SOLVED Reply with quote

Hi everybody,

when trying to emerge -u pam I get this error :

Code:

(...)
>>> Install pam-0.78-r2 into /var/tmp/portage/pam-0.78-r2/image/ category sys-libs
 * Installing Linux-PAM 0.78...
(...)
*** Building pam-unix module of the framework...
(...)
make[2]: Leaving directory `/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_xauth'
make[1]: Leaving directory `/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules'
 * Checking if all modules were built...

 * ERROR: pam_cracklib have dependencies in /usr.


Does anyone know where it come from ? It seems to be at the end of the emerging, during the "make install". I don't know exactly what emerge means with "have dependencies in /usr", it's not like usual error messages...

Thanks in advance,

Gavos


Last edited by Gavos on Sun Apr 10, 2005 9:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
Gavos
n00b
n00b


Joined: 20 Dec 2004
Posts: 10

PostPosted: Tue Mar 22, 2005 7:02 pm    Post subject: Reply with quote

BUMP

This problem is very annoying, since many packages rely on pam...


Last edited by Gavos on Sun Apr 10, 2005 8:49 pm; edited 1 time in total
Back to top
View user's profile Send private message
ekutay
l33t
l33t


Joined: 30 Mar 2005
Posts: 636
Location: Berlin

PostPosted: Wed Mar 30, 2005 9:33 am    Post subject: Reply with quote

Got exactly the same error, same update, same version.

Have you found a solution in the meantime?

I have not found any bug report pointing in the same direction. Thus I thought I would be the only one having this problem, but I'm not.

I will try to figure out, what this is about. If I cannot find anything that helps I will post a bug report.
_________________
-- erol
Back to top
View user's profile Send private message
Gavos
n00b
n00b


Joined: 20 Dec 2004
Posts: 10

PostPosted: Sat Apr 09, 2005 3:30 pm    Post subject: Reply with quote

No, I didn't find any solution (haven't search neither, I don't know where to begin). Don't hesitate for the bug report if it's not already done.
Back to top
View user's profile Send private message
Gavos
n00b
n00b


Joined: 20 Dec 2004
Posts: 10

PostPosted: Sun Apr 10, 2005 9:33 pm    Post subject: Reply with quote

Ok, from this https://bugs.gentoo.org/show_bug.cgi?id=85679 we know it's a known bug, still not patched.

It comes from "zombie" libraries that should have been removed with the upgrade. The turnaround is to delete these libraries by hand :

Library to keep :
/lib/libcrack.so.2 -> libcrack.so.2.8.0
/lib/libcrack.so.2.8.0

Library to delete :
/usr/lib/libcrack.so.2 -> libcrack.so.2.7
/usr/lib/libcrack.so.2.7

For me it solved the problem.
Back to top
View user's profile Send private message
polle
Veteran
Veteran


Joined: 28 Feb 2003
Posts: 1498
Location: Belgium

PostPosted: Mon Jun 20, 2005 3:46 pm    Post subject: Reply with quote

Thanks, today I tried to emerge kbiff and run into the same problem, emoving the fiels is /usr/lib solved the problem
Back to top
View user's profile Send private message
BlackB1rd
Tux's lil' helper
Tux's lil' helper


Joined: 13 Aug 2003
Posts: 131
Location: /Europe/Netherlands/Haarlem

PostPosted: Sun Jul 10, 2005 3:12 pm    Post subject: Reply with quote

Gavos wrote:
Ok, from this https://bugs.gentoo.org/show_bug.cgi?id=85679 we know it's a known bug, still not patched.

It comes from "zombie" libraries that should have been removed with the upgrade. The turnaround is to delete these libraries by hand :

Library to keep :
/lib/libcrack.so.2 -> libcrack.so.2.8.0
/lib/libcrack.so.2.8.0

Library to delete :
/usr/lib/libcrack.so.2 -> libcrack.so.2.7
/usr/lib/libcrack.so.2.7

For me it solved the problem.

I can confirm this works. I don't get it this problem still isn't resolved.
Back to top
View user's profile Send private message
pixelcatcher
n00b
n00b


Joined: 31 Jan 2004
Posts: 60
Location: Stuttgart

PostPosted: Tue Jul 12, 2005 6:04 am    Post subject: Reply with quote

i have the same problem here. what do I do? I dont have all of the files listed in the solution:

Code:
ls -la /usr/lib/libcrack.*
-rw-r--r--  1 root root 34K 12. Jul 04:53 /usr/lib/libcrack.a
-rwxr-xr-x  1 root root 792 12. Jul 04:53 /usr/lib/libcrack.la
-rwxr-xr-x  1 root root 295 12. Jul 04:53 /usr/lib/libcrack.so
lrwxrwxrwx  1 root root  15  1. Feb 20:28 /usr/lib/libcrack.so.2 -> libcrack.so.2.7
-rwxr-xr-x  1 root root 29K 22. Feb 2004  /usr/lib/libcrack.so.2.7


thanks
_________________
www.pixelcatcher.de
Back to top
View user's profile Send private message
Nounours
n00b
n00b


Joined: 04 Mar 2005
Posts: 17
Location: France

PostPosted: Tue Jul 12, 2005 11:35 am    Post subject: Reply with quote

hello.

They are under /lib directory not under /usr/lib .
You have not read all the post carefully ;)
Back to top
View user's profile Send private message
chtof
n00b
n00b


Joined: 29 Aug 2003
Posts: 62
Location: France

PostPosted: Tue Jul 12, 2005 6:48 pm    Post subject: Reply with quote

Hi,

I have solved this problem with a :
Code:
mv /usr/lib/libcrack.* /tmp
before to emerge pam.
Back to top
View user's profile Send private message
pixelcatcher
n00b
n00b


Joined: 31 Jan 2004
Posts: 60
Location: Stuttgart

PostPosted: Tue Jul 12, 2005 6:50 pm    Post subject: Reply with quote

my fault - you're right, solved it now! thanks :)
_________________
www.pixelcatcher.de
Back to top
View user's profile Send private message
youvnor
n00b
n00b


Joined: 02 Nov 2004
Posts: 36

PostPosted: Fri Jul 29, 2005 5:30 pm    Post subject: i have the same problem too Reply with quote

i have thesame problem too...

but my files are:
urano ~ # ls -la /lib/libcrack.*
lrwxrwxrwx 1 root root 17 Jul 14 22:13 /lib/libcrack.so -> libcrack.so.2.8.0
lrwxrwxrwx 1 root root 17 Jul 14 22:13 /lib/libcrack.so.2 -> libcrack.so.2.8.0
-rwxr-xr-x 1 root root 28744 Jul 14 22:13 /lib/libcrack.so.2.8.0
Back to top
View user's profile Send private message
youvnor
n00b
n00b


Joined: 02 Nov 2004
Posts: 36

PostPosted: Fri Jul 29, 2005 5:33 pm    Post subject: sorry i did not read the post carefully Reply with quote

sorry it seems that i did not read the post carefully too.
Back to top
View user's profile Send private message
Exner
Tux's lil' helper
Tux's lil' helper


Joined: 08 Apr 2003
Posts: 128
Location: Melbourne, Australia

PostPosted: Mon Aug 01, 2005 5:02 am    Post subject: Reply with quote

I still had the problem after removing old links to libcrypt and libdl. I fixed it by removing several other links. See https://forums.gentoo.org/viewtopic-p-2616078.html#2616078
_________________
- Exner (Antony Suter)
Back to top
View user's profile Send private message
n.e.l.s.o.n
n00b
n00b


Joined: 28 Oct 2005
Posts: 1

PostPosted: Fri Oct 28, 2005 10:47 pm    Post subject: Thanks for tips it worked very well .. Reply with quote

Exner wrote:
I still had the problem after removing old links to libcrypt and libdl. I fixed it by removing several other links. See https://forums.gentoo.org/viewtopic-p-2616078.html#2616078



I Remove de dynamic libraries

# mv /usr/lib/libcrack.so /usr/lib/OFF_libcrack.so
# mv /usr/lib/libcrack.so.2.7 /usr/lib/OFF_libcrack.so.2.7
# ln -s /lib/libcrack.so /usr/lib/libcrack.so

and leaved the static libraries:
ls /usr/lib/libcrack*
-rw-r--r-- 1 root root 31672 2005-10-14 20:41 /usr/lib/libcrack.a
-rwxr-xr-x 1 root root 792 2005-10-14 20:41 /usr/lib/libcrack.la
lrwxrwxrwx 1 root root 16 2005-10-28 20:04 /usr/lib/libcrack.so -> /lib/libcrack.so

And pam emerged sucessfully
.
Back to top
View user's profile Send private message
d2clon
n00b
n00b


Joined: 08 Jun 2003
Posts: 60

PostPosted: Tue Apr 25, 2006 10:09 am    Post subject: Reply with quote

mi problem was with:
Code:
/usr/lib/libc.so.6


i had that delete it.

i think is very ussefull to do:
Code:
emerge -d pam


and look wich is the file that make the problem

thx every body
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum