Re: pam_ssh no longer works after r197679

From: Ulrich Spörlein <uqs_at_spoerlein.net>
Date: Mon, 5 Oct 2009 20:35:26 +0200
On Mon, 05.10.2009 at 13:05:04 +0200, Dag-Erling Smørgrav wrote:
> Taku YAMAMOTO <taku_at_tackymt.homeip.net> writes:
> > A quick investigation revailed that libssh.so.5 had some symbols undefined,
> > which prevented pam_ssh.so.5 from being loaded.
> > # FYI: openpam dlopen()s modules with RTLD_NOW.
> >
> > Here's interesting bits from nm -D /usr/lib/libssh.so.5 | fgrep U
> >          U roaming_read
> >          U roaming_write
> 
> This is weird - I understand what the problem is, but I don't understand
> why it didn't break the build.
> 
> As a workaround, try adding roaming_dummy.c to SRCS in pam_ssh's
> Makefile.

Did the following and everything is back to normal:

# cd /usr/src/lib/libpam/modules/pam_ssh
# make "SRCS=pam_ssh.c roaming_dummy.c"
# make "SRCS=pam_ssh.c roaming_dummy.c" install

Cheers,
Uli
Received on Mon Oct 05 2009 - 16:35:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:56 UTC