Date: Sat, 4 Mar 2000 15:02:43 -0800 (PST) From: pam@polynet.lviv.ua To: freebsd-gnats-submit@FreeBSD.org Subject: bin/17191: pam_ssh.so is not linked against libssh.a thus missing couple of functions Message-ID: <200003042302.PAA41913@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 17191 >Category: bin >Synopsis: pam_ssh.so is not linked against libssh.a thus missing couple of functions >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Mar 4 15:10:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Adrian Pavlykevych >Release: 4.0-CURRENT-2000027 >Organization: Lviv State University "Lvivska Polytechnica" >Environment: FreeBSD rameau.coda.cs.cmu.edu 4.0-CURRENT FreeBSD 4.0-CURRENT #4: Fri Mar 3 14:25:42 EST 2000 pam@rameau.coda.cs.cmu.edu:/usr/src/sys/compile/Rameau i386 >Description: pam_ssh.so module incorporated into FreeBSD distribution together with OpenSSH, is not linked against libssh.a, but relies upon functions like ssh_get_authentication_connection(). Attempt to use this module will result in: login: unable to dlopen(/usr/lib/pam_ssh.so) login: [dlerror: /usr/lib/pam_ssh.so: Undefined symbol "ssh_get_authentication_connection"] syslog messages >How-To-Repeat: add: login auth sufficient pam_ssh.so to the /etc/pam.conf and try to login >Fix: *** Makefile.orig Sat Mar 4 17:59:10 2000 --- Makefile Sat Mar 4 18:01:26 2000 *************** *** 8,14 **** SRCS= log-client.c pam_ssh.c CFLAGS+= -Wall -I${SSHSRC} DPADD+= ${LIBCRYPTO} ${LIBCRYPT} ${LIBUTIL} ${LIBZ} ${LIBGCC_PIC} ! LDADD+= -lcrypto -lcrypt -lutil -lz -lgcc_pic INTERNALLIB= yes INTERNALSTATICLIB=yes --- 8,14 ---- SRCS= log-client.c pam_ssh.c CFLAGS+= -Wall -I${SSHSRC} DPADD+= ${LIBCRYPTO} ${LIBCRYPT} ${LIBUTIL} ${LIBZ} ${LIBGCC_PIC} ! LDADD+= -L${.OBJDIR}/../../../../secure/lib/libssh/ -lssh -lcrypto -lcrypt -lutil -lz -lgcc_pic INTERNALLIB= yes INTERNALSTATICLIB=yes >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003042302.PAA41913>