1 |
Hello everybody, |
2 |
|
3 |
I use hardened gentoo, now with disabled grsecurity, and I can't emerge |
4 |
openssh because it is unable to find libpam even though it really is there |
5 |
(if you ask why to reemerge, well I just want to do emerge -e @world with |
6 |
new versions of everything). I would file a bugreport but I haven't done |
7 |
that before and I would like to be sure it's not my machine that causes the |
8 |
problem. In attachments, there are all the things you should need, but if |
9 |
something is missing, I'll send whatever you say (I hope I'll erase all |
10 |
passwords there :) ). This is just the simplest part from what happened, for |
11 |
full story you can skip to the last paragraph. |
12 |
This is the actual error: |
13 |
checking for pam_set_item in -lpam... no |
14 |
configure: error: *** libpam missing |
15 |
|
16 |
The full story: I am using Gentoo for a few years now and I was able to help |
17 |
myself out with all the passive support available (google, man/info pages |
18 |
etc.) but recently I've stumbled upon a weird problem that seem unsolvable |
19 |
for me, so I'm trying to write to you guys as my first try of getting any |
20 |
active help. Everything worked well until I tried to install qemu on one |
21 |
machine. The installation failed on searching for libraries that were |
22 |
actually there, but ld reported them missing. I realised, that when emerging |
23 |
qemu on x86_64 machine, I should just try to emulate x86_64 (and not i386 as |
24 |
I tried for the first time) and so I switched to x86_64 in /etc/make.conf |
25 |
and everything went well. I suppose, that the error message should have said |
26 |
something about incompatible library version (non-compatible ELF class or |
27 |
something), I guess. After this problem occurred, I had the same libraries |
28 |
missing while emerging different package that had nothing to do with any |
29 |
architecture stuff. I was using ccache that time and I desperately wanted to |
30 |
get the package installed, so I tried to compile it myself (it worked) and |
31 |
tried to compile it after I established the portage environment (it didn't |
32 |
work). So I straced the command in both cases and with the environment it |
33 |
used ccache, so I disabled ccache and it worked. However after cleaning the |
34 |
ccache and enabling it back, it didn't work again. Because that didn't |
35 |
bother me too much, I left the ccache disabled and went on. Now I had new |
36 |
error with libraries, this time with openssh. The package failed in the |
37 |
configuration phase while searching for pam_set_item in -lpam. When I tried |
38 |
to compile the same thing (testing the symbol), it compiled correctly and it |
39 |
didn't matter if I was in clean environment or in the one given by portage. |
40 |
I didn't know what to do. After one day of googling, I tried lots of |
41 |
possibilities and nothing helped. I tried to emerge it with ccache again and |
42 |
it gave me error with openssl (cannot find openssl libcrypto). After |
43 |
checking that libcrypto is on this system, I reemerged openssl and it didn't |
44 |
help. I disabled ccache and I was still stuck with this openssl libcrypto |
45 |
error. As a last resort, I rebooted (I really did that :'( ) and I am back |
46 |
with the -lpam error. Everything else (from what I tried) works great. I'm |
47 |
not sure if I should file a bug because I haven't done that before either |
48 |
(but I created my account there today). So please if anyone can guide me to |
49 |
some path, I'd be very grateful. |
50 |
Thanks anyone who answers in advance. |