Date: Tue, 4 Apr 1995 00:10:18 -0400 From: pst@cisco.com (Paul Traina) To: jkh@FreeBSD.org, phk@FreeBSD.org Cc: current@FreeBSD.org, cvs-committers@FreeBSD.org Subject: READ BEFORE SUPPING: critical change to login/su Message-ID: <v02110101aba674a55ec0@[171.69.126.217]>
next in thread | raw e-mail | index | archive | help
Unfortunately, it looks like when someone changed libmd to no longer be share, we had an unforseen breakage of skey. Apparently, the linker does not resolve undefined symbols of shared libraries at link time, and libskey.so.2.0 makes references to stuff found in libmd.a. The modules in libmd.a that skey requires were not getting linked into the actual programs that used skey, so when someone actually invoked skey based programs like keyinit(1) there were unresolved runtime references (bloody amazing this wasn't caught earlier). Anyway, the "proper" fix here is to do away with libskey.so.2.0, as it's really not a good idea for the skey stuff to be shared anyway, which means that libskey.a and libmd.a will be linked in the old fashioned way and the right things will happen. Jordan/Paul (I am not making the change, I have retired :-)) add a "NOPIC=yes" line to libskey/Makefile so that .so files are no longer generated remove /usr/lib/libskey.so.* relink/install: login, su, ftpd, rexecd, key, keyinit You need to do this stuff in that order. If you do NOT relink/install login and su, you will be screwed as they will look for libskey.so.2.0 which is no longer there, so do it immediately after you rm libskey.so.* Regards, Paul
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?v02110101aba674a55ec0>