Subject: Re: README: library symbol collision problem
To: Stephen Ma <Stephen.Ma@jtec.com.au>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 06/29/1998 10:23:40
On Mon, 29 Jun 1998 20:44:47 +1000 (EST) 
 Stephen.Ma@jtec.com.au (Stephen Ma) wrote:

 > Ummm. I've found the following executables depend on libutil.so:
 > 
 > /usr/bin:
 > chfn chpass chsh login passwd script wall yppasswd
 > 
 > /usr/sbin:
 > bad144 dumpfs makedbm mkalias mknetid pppd pwd_mkdb quotacheck rdate
 > revnetgroup rpc.yppasswdd stdethers stdhosts syslogd timed vipw
 > vnconfig yppush ypserv yptest ypxfr
 > 
 > /usr/libexec:
 > getty ntalkd rlogind telnetd

Thanks for the canonical list!

 > It seems possible to fix things without the having a "broken window"
 > by rebuilding the affected programs with static linking. This can be
 > done by doing something like the following on the critical programs
 > (like getty, login, rlogind, telnetd) after you rebuild libc and
 > libutil, but before you rm /usr/lib/libutil.so.*:
 > 
 > # cd /usr/src/libexec/getty
 > # make clean && make LDSTATIC=-static && make install && make clean
 > 
 > Then, carefully move /usr/lib/libutil.so.5.* out of the way, and
 > rebuild the entire tree.

Yes, your suggestion will work just fine... thanks for mentioning it!

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                            Home: +1 408 866 1912
NAS: M/S 258-5                                       Work: +1 650 604 0935
Moffett Field, CA 94035                             Pager: +1 650 428 6939