From owner-freebsd-hackers Sat May 29 15:15:15 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from wopr.caltech.edu (wopr.caltech.edu [131.215.240.222]) by hub.freebsd.org (Postfix) with ESMTP id 048A614DA3 for ; Sat, 29 May 1999 15:15:12 -0700 (PDT) (envelope-from mph@wopr.caltech.edu) Received: (from mph@localhost) by wopr.caltech.edu (8.9.3/8.9.1) id PAA43544 for hackers@FreeBSD.org; Sat, 29 May 1999 15:15:12 -0700 (PDT) (envelope-from mph) Date: Sat, 29 May 1999 15:15:12 -0700 From: Matthew Hunt To: hackers@FreeBSD.org Subject: PAM: Undefined symbols at runtime Message-ID: <19990529151511.A34375@wopr.caltech.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have been running 3.x and 4.0-CURRENT for some time, but have never bothered using PAM. Yesterday, after a build of 4.0-CURRENT of that day, I decided to try enabling PAM by copying /usr/src/pam.conf to /etc. My problem is that login fails, due to undefined symbols in the PAM modules: May 28 20:57:32 wopr login: unable to dlopen(/usr/lib/pam_skey.so) May 28 20:57:32 wopr /kernel: pid 12921 (login), uid 0: exited on signal 11 (core dumped) May 28 20:57:32 wopr login: [dlerror: /usr/lib/libskey.so.2: Undefined symbol "sys_siglist"] May 28 20:57:32 wopr login: adding faulty module: /usr/lib/pam_skey.so May 28 20:57:32 wopr login: unable to dlopen(/usr/lib/pam_unix.so) May 28 20:57:32 wopr login: [dlerror: /usr/lib/pam_unix.so: Undefined symbol "ctime"] May 28 20:57:32 wopr login: adding faulty module: /usr/lib/pam_unix.so I tried the following: I added "-lc" to the LDADD line in pam_unix's Makefile. It then apparently resolved the ctime symbol, but then bombed trying to resolve "environ" in libc: May 28 21:04:27 wopr login: unable to dlopen(/usr/lib/pam_unix.so) May 28 21:04:27 wopr login: [dlerror: /usr/lib/libc.so.3: Undefined symbol "environ"] May 28 21:04:27 wopr login: adding faulty module: /usr/lib/pam_unix.so Any ideas? Matt -- Matthew Hunt * UNIX is a lever for the http://www.pobox.com/~mph/ * intellect. -J.R. Mashey To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message