Date: Sat, 17 May 1997 13:22:51 -0400 (EDT) From: Bradley Dunn <bradley@dunn.org> To: freebsd-stable@freebsd.org, davidn@freebsd.org Subject: Bug in src/usr.bin/su/Makefile Message-ID: <Pine.BSF.3.96.970517131225.15793A-100000@ns2.harborcom.net>
next in thread | raw e-mail | index | archive | help
Just in time for a -RELEASE! :)
The patch below needs to be applied to src/usr.bin/su/Makefile. From what
I can see, libskey needs some of the objects in libmd, therefore -lskey
needs to come before -lmd since libmd is not a shared library
This is from 2.2-STABLE...I guess the same patch probably needs to be
applied to -CURRENT.
Without this patch one will get errors similar to the following:
host: {48} su
s/key 9996 ho55865
Password:
(null): Undefined symbol "_MD4Init" called from su:/usr/lib/libskey.so.2.0 at 0x8024214
Very annoying for people who have the root account protected by S/Key. :)
--- Makefile Sat May 10 18:07:57 1997
+++ /home/dunn/Makefile Sat May 17 12:57:24 1997
@@ -3,13 +3,10 @@
PROG= su
SRCS= su.c
-LDADD= -lmd
-DPADD= ${LIBMD}
-
#LC_AUTH=-DLOGIN_CAP_AUTH
COPTS+= -DLOGIN_CAP $(LC_AUTH)
-LDADD+= -lutil
-DPADD+= ${LIBUTIL}
+LDADD= -lutil
+DPADD= ${LIBUTIL}
.if !defined(LC_AUTH)
COPTS+= -DSKEY
@@ -29,6 +26,9 @@
LDADD+= -lkrb -ldes
DISTRIBUTION= krb
.endif
+
+LDADD+= -lmd
+DPADD+= ${LIBMD}
BINOWN= root
BINMODE=4555
pbd
--
You can make it illegal, but you can't make it unpopular.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970517131225.15793A-100000>
