Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11646 - pam-0.75-r10 fails on crypt
Summary: pam-0.75-r10 fails on crypt
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-05 15:37 UTC by cDlm
Modified: 2006-02-04 06:03 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cDlm 2002-12-05 15:37:21 UTC
This is what an 'emerge -u pam' ends with:
gcc -o pwdb_chkpwd pwdb_chkpwd.o md5_good.o md5_broken.o md5_crypt_good.o
md5_crypt_broken.o -lpwdb
pwdb_chkpwd.o: In function `bigcrypt':
pwdb_chkpwd.o(.text+0x198): undefined reference to `crypt'
pwdb_chkpwd.o(.text+0x1d0): undefined reference to `crypt'
collect2: ld returned 1 exit status
make[2]: *** [pwdb_chkpwd] Error 1

I'll be happy to give more details if needed (clue required though :).
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-08 14:32:48 UTC
Check if you have a /usr/lib/libcrypt.so symlink.
Comment 2 cDlm 2002-12-09 09:08:18 UTC
This is what I have:

fallawater root # ls -l /usr/lib/libcrypt*
-rw-r--r--    1 root     root        25410 Dec  9 03:36 /usr/lib/libcrypt.a
-rw-r--r--    1 root     root      1536620 Nov 13 17:54 /usr/lib/libcrypto.a
lrwxrwxrwx    1 root     root           14 Nov 13 17:54 /usr/lib/libcrypto.so ->
libcrypto.so.0
lrwxrwxrwx    1 root     root           18 Nov 13 17:54 /usr/lib/libcrypto.so.0
-> libcrypto.so.0.9.6

-r-xr-xr-x    1 root     root       998960 Nov 13 17:54 /usr/lib/libcrypto.so.0.9.6
fallawater root # qpkg -f /usr/lib/libcrypt.so
sys-libs/glibc *

So I remerged sys-libs/glibc-2.2.5-r7, but it didn't (re)create the link.
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-09 09:51:56 UTC
workshop gawk # ls -l /usr/lib/libcrypt.so 
lrwxrwxrwx    1 root     root           23 Nov  4 10:45 /usr/lib/libcrypt.so ->
../../lib/libcrypt.so.1
workshop gawk # 
-----------------------------

What I have, so try to add back with:

  # ln -s ../../lib/libcrypt.so.1 /usr/lib/libcrypt.so

Make sure its valid symlink, and then pam *should* merge fine.  I will look
into fixing glibc with linker scripts rather than symlinks ....
Comment 4 cDlm 2002-12-09 11:44:09 UTC
That made no difference...
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-09 13:18:40 UTC
Gerk, this seems to be similar to bug #4411 due to missing /usr/lib symlink,
but aparently adding do not fix.  Know of any PPC issues that could cause
this as well ?
Comment 6 Mark Guertin 2002-12-09 14:01:30 UTC
Hmm not sure Azarah

my setup is the same as yours (has the symlink)

gerk@ppc gerk $ ls -la /usr/lib/libcrypt.so
lrwxrwxrwx    1 root     root           23 Dec  2 13:16 /usr/lib/libcrypt.so ->
../../lib/libcrypt.so.1

BUT I am using:
qpkg -f -v "/usr/lib/libcrypt.so"
sys-libs/glibc-2.3.1-r2 *

I've heard 2 complaints of this happening before (including this one) but havent
been able to recreate it yet.

cDlm: when was latest rsync update, etc... you sure you ahve the latest glibc? 
There was one patches one that was in the wild for about a week for ppc users
that had some issues, has been fixed since then

as a last resort you can try udating to glibc-2.3.1 and see if it helps you, its
running very solid on my box and will in fact get upgraded to stable anytime on
ppc :)
Comment 7 Donny Davies (RETIRED) gentoo-dev 2002-12-10 09:12:34 UTC
this should have gone to Azzie and i definately should have been
added as a CC
 :P
Comment 8 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-14 14:20:09 UTC
cDlm: Can you try Gerk's advice ?
Comment 9 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-18 05:03:15 UTC
Hi, any feedback ?
Comment 10 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-19 09:18:33 UTC
Reopen if still issues.