Date: Sun, 20 Apr 1997 09:44:44 -0700 (PDT) From: noroi@mob.or.jp To: freebsd-gnats-submit@freebsd.org Subject: bin/3360: su(1) cannot call MD4Init(3) from libskey Message-ID: <199704201644.JAA00192@freefall.freebsd.org> Resent-Message-ID: <199704201650.JAA00567@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 3360 >Category: bin >Synopsis: su(1) cannot call MD4Init(3) from libskey >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Apr 20 09:50:01 PDT 1997 >Last-Modified: >Originator: IKEDA Kenji >Organization: home >Release: 3.0-970209-SNAP >Environment: FreeBSD kamui.mob.or.jp 3.0-970209-SNAP FreeBSD 3.0-970209-SNAP #0: Wed Mar 26 00:42:54 JST 1997 noroi@kamui.mob.or.jp:/usr/src/sys/compile/JULIA i386 >Description: su(1) cannot call MD4 library in libmd.a. Libmd.a linked before -lskey. >How-To-Repeat: # root has S/KEY password. $ su s/key 98 ka48855 Password: (turning echo on) Password:GALL OWL NOUN PAR RIG CAR /usr/libexec/ld.so: Undefined symbol "_MD4Init" called from su:/usr/lib/libskey.so.2.0 at 0x8029204 >Fix: su-2.00# pwd /usr/src/usr.bin/su su-2.00# diff -u Makefile.orig Makefile --- Makefile.orig Mon Jan 13 15:39:19 1997 +++ Makefile Mon Apr 21 01:33:49 1997 @@ -3,8 +3,8 @@ PROG= su SRCS= su.c -LDADD= -lmd -DPADD= ${LIBMD} +#LDADD= -lmd +#DPADD= ${LIBMD} #LC_AUTH=-DLOGIN_CAP_AUTH COPTS+= -DLOGIN_CAP $(LC_AUTH) @@ -16,6 +16,9 @@ LDADD+= -lskey -lcrypt DPADD+= ${LIBSKEY} ${LIBCRYPT} .endif + +LDADD+= -lmd +DPADD+= ${LIBMD} .if defined(WHEELSU) COPTS+= -DWHEELSU su-2.00# >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704201644.JAA00192>