[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#499203: libpam-pwdfile completely broken on hppa



On Wed, 17 Sep 2008, Peter Palfrader wrote:

> Sep 16 17:33:43 paer sudo: PAM unable to dlopen(/lib/security/pam_pwdfile.so)
> Sep 16 17:33:43 paer sudo: PAM [dlerror: /lib/security/pam_pwdfile.so: undefined symbol: $$dyncall]
> Sep 16 17:33:43 paer sudo: PAM adding faulty module: /lib/security/pam_pwdfile.so
> 
> Sep 16 17:33:46 paer sudo:   weasel : pam_authenticate: Module is unknown ; TTY=pts/15 ; PWD=/home/weasel ; USER=root ; COMMAND=/bin/ls

Waldi helpfully suggested using gcc to link instead of ld:

weasel@paer:~/pwdfile$ zinterdiff libpam-pwdfile_0.99-3.diff.gz libpam-pwdfile_0.99-3.1.diff.gz
diff -u libpam-pwdfile-0.99/Makefile.Debian libpam-pwdfile-0.99/Makefile.Debian
--- libpam-pwdfile-0.99/Makefile.Debian
+++ libpam-pwdfile-0.99/Makefile.Debian
@@ -3,9 +3,9 @@
 TITLE=pam_pwdfile
 
 CC = gcc
-LD = ld
+LD = gcc
 CFLAGS = -fPIC -c -g -Wall -Wformat-security
-LDFLAGS = -x --shared
+LDFLAGS = --shared
 LDLIBS = -lcrypt -lpam -lpam_misc
 LIBSRC = $(TITLE).c
 LIBOBJ = $(TITLE).o md5_good.o md5_broken.o md5_crypt_good.o md5_crypt_broken.o bigcrypt.o
diff -u libpam-pwdfile-0.99/debian/changelog libpam-pwdfile-0.99/debian/changelog
--- libpam-pwdfile-0.99/debian/changelog
+++ libpam-pwdfile-0.99/debian/changelog
@@ -1,3 +1,9 @@
+libpam-pwdfile (0.99-3.1) unstable; urgency=low
+
+  * Link with gcc instead of ld.
+
+ -- Peter Palfrader <weasel@debian.org>  Tue, 16 Sep 2008 18:43:26 -0600
+
 libpam-pwdfile (0.99-3) unstable; urgency=low
 
   * Update doeumentation in README.Debian


makes it work.

Greg, can you prepare an upload or should we NMU?  SRM, can we get this into
etch provided it doesn't blow up in testing?

Cheers,
weasel
-- 
                           |  .''`.  ** Debian GNU/Linux **
      Peter Palfrader      | : :' :      The  universal
 http://www.palfrader.org/ | `. `'      Operating System
                           |   `-    http://www.debian.org/


Reply to: