1 |
R. Müller posted <440FE5C9.1010606@××××××××××××××.de>, excerpted below, |
2 |
on Thu, 09 Mar 2006 09:22:33 +0100: |
3 |
|
4 |
> hi group, |
5 |
> |
6 |
> my update world stopped at |
7 |
> |
8 |
> [ebuild U ] net-misc/openssh-4.2_p1-r1 [4.2_p1] -X509 -chroot -hpn |
9 |
> +ipv6 -kerberos +ldap -libedit +pam (-selinux) -sftplogging -skey |
10 |
> -smartcard -static +tcpd 0 kB |
11 |
> |
12 |
> with following error message on configuration check : [...] |
13 |
> checking for pam_set_item in -lpam... no |
14 |
> configure: error: *** libpam missing |
15 |
> |
16 |
> !!! Please attach the config.log to your bug report: !!! |
17 |
> /var/tmp/portage/openssh-4.2_p1-r1/work/openssh-4.2p1/config.log |
18 |
> |
19 |
> but "libpam" is already installed : |
20 |
> #emerge -s sys-libs/pam |
21 |
> |
22 |
> * sys-libs/pam |
23 |
> Latest version available: 0.78-r3 |
24 |
> Latest version installed: 0.78-r3 |
25 |
> |
26 |
> #find /usr/ -iname "*libpam*" |
27 |
> /usr/lib64/libpam.a |
28 |
> /usr/lib64/libpam.so |
29 |
> /usr/lib64/libpamc.a |
30 |
> /usr/lib64/libpamc.so |
31 |
> /usr/lib64/libpam_misc.a |
32 |
> /usr/lib64/libpam_misc.so |
33 |
> |
34 |
> # ldconfig -p | grep libpam |
35 |
> libpamc.so.0 (libc6,x86-64) => /lib/libpamc.so.0 libpamc.so.0 |
36 |
> (libc6) => /emul/linux/x86/lib/libpamc.so.0 libpamc.so |
37 |
> (libc6,x86-64) => /lib/libpamc.so libpamc.so (libc6) => |
38 |
> /emul/linux/x86/lib/libpamc.so libpam_misc.so.0 (libc6,x86-64) => |
39 |
> /lib/libpam_misc.so.0 libpam_misc.so.0 (libc6) => |
40 |
> /emul/linux/x86/lib/libpam_misc.so.0 libpam_misc.so |
41 |
> (libc6,x86-64) => /lib/libpam_misc.so libpam_misc.so (libc6) => |
42 |
> /emul/linux/x86/lib/libpam_misc.so libpam.so.0 (libc6,x86-64) => |
43 |
> /lib/libpam.so.0 libpam.so.0 (libc6) => |
44 |
> /emul/linux/x86/lib/libpam.so.0 libpam.so (libc6,x86-64) => |
45 |
> /lib/libpam.so libpam.so (libc6) => /emul/linux/x86/lib/libpam.so |
46 |
> |
47 |
> has anybody a hint ? |
48 |
|
49 |
OK, I don't know why it's in system as I don't need it, and indeed, have |
50 |
it package.provided so portage won't try to install it when I don't want |
51 |
or need it, instead, pretending it's there, with no ill effects I can see. |
52 |
Unless you know you need it (you ssh into or outof your box), you could |
53 |
(and should, given that it's good security practice not to have installed |
54 |
stuff that you aren't using, not to mention the bother upgrading it on a |
55 |
from-source distribution like Gentoo) probably package.provided it as well. |
56 |
|
57 |
If you /do/ actually need it... |
58 |
|
59 |
Often, those errors have to do with it either looking in the wrong place, |
60 |
or finding it, but testing with a little dummy compile that fails or warns |
61 |
for some strange reason. IOW, it's not because you don't have it, but |
62 |
because the test for it fails for whatever reason. Tweak the test so it |
63 |
detects it correctly, and the problem disappears. |
64 |
|
65 |
That's why it mentions config.log, which will be in your PORTAGE_TMPDIR, |
66 |
in the working dir for that package. Look in it, and it'll tell you what |
67 |
line of configure failed and give some more details. If you know bash |
68 |
scripting, you should then be able to look in the configure script around |
69 |
the given line and figure out what it's testing and run that command from |
70 |
the command line if necessary to see what's going wrong and fix it. |
71 |
|
72 |
Meanwhile, it suggests you bug report it (meaning not here, but at |
73 |
bugs.gentoo.org). Have you done so, and in the process, checked to see if |
74 |
there's already a bug open on that problem, which might have a solution? |
75 |
If not, I'd suggest you do so. Meanwhile, posting here is a good idea to |
76 |
see if anyone else has come across the problem, but that's not the same as |
77 |
filing a bug, or looking to see if anyone else has filed one and seeing |
78 |
what the comments on the bug say might help. |
79 |
|
80 |
-- |
81 |
Duncan - List replies preferred. No HTML msgs. |
82 |
"Every nonfree program has a lord, a master -- |
83 |
and if you use the program, he is your master." Richard Stallman in |
84 |
http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html |
85 |
|
86 |
|
87 |
-- |
88 |
gentoo-amd64@g.o mailing list |