Gentoo Archives: gentoo-dev

From: Tom Prado <tprado@×××××××.net>
To: gentoo-dev@g.o
Subject: [gentoo-dev] PAM 0.75-r8 issues
Date: Tue, 22 Oct 2002 06:30:05
Message-Id: 3DB535C7.2000808@charter.net
1 Has anyone else had problems with gdm and mc after installing
2 pam-0.75-r8? I'm having two specific issues. The first is midnight
3 commander now fails to compile giving the following error:
4
5
6 i686-pc-linux-gnu-gcc -I/usr/include/glib-1.2 -I/usr/lib/glib/include
7 -DCONFIGDIR=\""/etc/samba"\" -march=i686 -O3 -pipe -Wall -lcrypt
8 -lncurses -o mcserv -lshadow -lpam -ldl mcserv.o tcputil.o -L/usr/lib
9 -lglib -L/usr/lib
10 mcserv.o: In function `do_auth':
11 mcserv.o(.text+0xb54): undefined reference to `pam_start'
12 mcserv.o(.text+0xb69): undefined reference to `pam_authenticate'
13 mcserv.o(.text+0xb7e): undefined reference to `pam_acct_mgmt'
14 mcserv.o(.text+0xb93): undefined reference to `pam_setcred'
15 mcserv.o(.text+0xba8): undefined reference to `pam_end'
16 mcserv.o(.text+0xbb9): undefined reference to `pam_end'
17 collect2: ld returned 1 exit status
18 make[3]: *** [mcserv] Error 1
19 make[3]: *** Waiting for unfinished jobs....
20 make[3]: Leaving directory
21 `/var/tmp/portage/mc-4.6.0_pre1/work/mc-4.6.0-pre1/vfs'
22 make[2]: *** [all-recursive] Error 1
23 make[2]: Leaving directory
24 `/var/tmp/portage/mc-4.6.0_pre1/work/mc-4.6.0-pre1/vfs'
25 make[1]: *** [all-recursive] Error 1
26 make[1]: Leaving directory
27 `/var/tmp/portage/mc-4.6.0_pre1/work/mc-4.6.0-pre1'
28
29
30 The second is gdm. I can no longer log in. It gives an "Authorization
31 Denied" type error before I even get a password prompt. I've looked in
32 /var/log/everything/current and see this:
33
34
35 Oct 22 07:08:32 [gdm] PAM unable to dlopen(/lib/security/pam_stack.so)
36 Oct 22 07:08:32 [gdm] PAM [dlerror: /lib/security/pam_stack.so:
37 undefined symbol: _pam_make_env]
38 Oct 22 07:08:32 [gdm] PAM adding faulty module: /lib/security/pam_stack.so
39 Oct 22 07:08:32 [gdm] PAM unable to dlopen(/lib/security/pam_nologin.so)
40 Oct 22 07:08:32 [gdm] PAM [dlerror: /lib/security/pam_nologin.so:
41 undefined symbol: pam_get_item]
42 Oct 22 07:08:32 [gdm] PAM adding faulty module: /lib/security/pam_nologin.so
43 Oct 22 07:08:32 [gdm] PAM unable to dlopen(/lib/security/pam_console.so)
44 Oct 22 07:08:32 [gdm] PAM [dlerror: /lib/security/pam_console.so:
45 undefined symbol: pam_get_item]
46 Oct 22 07:08:32 [gdm] PAM adding faulty module: /lib/security/pam_console.so
47 Oct 22 07:08:37 [gdm] PAM unable to dlopen(/lib/security/pam_stack.so)
48 Oct 22 07:08:37 [gdm] PAM [dlerror: /lib/security/pam_stack.so:
49 undefined symbol: _pam_make_env]
50 Oct 22 07:08:37 [gdm] PAM adding faulty module: /lib/security/pam_stack.so
51 Oct 22 07:08:37 [gdm] PAM unable to dlopen(/lib/security/pam_nologin.so)
52 Oct 22 07:08:37 [gdm] PAM [dlerror: /lib/security/pam_nologin.so:
53 undefined symbol: pam_get_item]
54 Oct 22 07:08:37 [gdm] PAM adding faulty module: /lib/security/pam_nologin.so
55 Oct 22 07:08:37 [gdm] PAM unable to dlopen(/lib/security/pam_console.so)
56 Oct 22 07:08:37 [gdm] PAM [dlerror: /lib/security/pam_console.so:
57 undefined symbol: pam_get_item]
58 Oct 22 07:08:37 [gdm] PAM adding faulty module: /lib/security/pam_console.so
59 Oct 22 07:08:37 [gdm] Couldn't authenticate user
60
61
62 Has anyone else had similar problems with the new pam? I'm experiencing
63 this on both Gentoo 1.2 and 1.4rc1.
64
65 Tom Prado