Date: Mon, 5 Oct 2009 20:35:26 +0200 From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= <uqs@spoerlein.net> To: Dag-Erling =?utf-8?B?U23DuHJncmF2?= <des@des.no> Cc: Taku YAMAMOTO <taku@tackymt.homeip.net>, freebsd-current@freebsd.org Subject: Re: pam_ssh no longer works after r197679 Message-ID: <20091005183526.GA3230@elmar.spoerlein.net> In-Reply-To: <86fx9yxfrz.fsf@ds4.des.no> References: <20091004225000.6a1a6262.taku@tackymt.homeip.net> <86fx9yxfrz.fsf@ds4.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 05.10.2009 at 13:05:04 +0200, Dag-Erling Smørgrav wrote: > Taku YAMAMOTO <taku@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091005183526.GA3230>