Date: Thu, 18 Oct 2001 11:21:52 -0701 From: Jos Backus <josb@cncdsl.com> To: freebsd-current@freebsd.org Subject: Fix for pam_nologin.so runtime error Message-ID: <20011018112152.A12036@lizzy.bugworks.com>
next in thread | raw e-mail | index | archive | help
After installing the KDE 2.2 port on yesterdays' -current, I ran into the following problem: traitor:/usr/src/lib/libpam/libpam# kcheckpass Password: /usr/libexec/ld-elf.so.1: /usr/lib/pam_nologin.so: Undefined symbol "login_getclass" traitor:/usr/src/lib/libpam/libpam# This thread mentions this same problem but does not offer a fix: http://groups.google.com/groups?hl=en&frame=right&th=4b5d292a59767617&seekm=5.1.0.14.2.20010912135613.00b65cc8%40208.141.46.254#link1 It appears that we are not adding a runtime dependency on libutil.so. With the following patch to /usr/src/lib/libpam/libpam/Makefile, kcheckpass works fine: --- Makefile.orig Thu Oct 18 11:18:32 2001 +++ Makefile Thu Oct 18 11:18:10 2001 @@ -38,6 +38,7 @@ CFLAGS+= -DDEFAULT_MODULE_PATH=\"${SHLIBDIR}/\" \ -DLIBPAM_VERSION_MAJOR=${LIBPAM_VERSION_MAJOR} \ -DLIBPAM_VERSION_MINOR=${LIBPAM_VERSION_MINOR} +LDADD= -lutil NOPROFILE= yes # Files from ${PAMDIR}/libpam: Should I file a PR? -- Jos Backus _/ _/_/_/ Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/ _/ josb@cncdsl.com _/_/ _/_/_/ use Std::Disclaimer; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011018112152.A12036>