Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: mjr@cthulhu.welch.jhu.edu (Marcus J. Ranum) Newsgroups: comp.sys.sun Subject: another braindamaged thing from Sun Keywords: SunOS Message-ID: <8904101824.AA07180@cthulhu.welch.jhu.edu> Date: 25 Apr 89 23:28:11 GMT Sender: usenet@rice.edu Organization: Sun-Spots Lines: 11 Approved: Sun-Spots@rice.edu Original-Date: Mon, 10 Apr 89 14:24:56 EDT X-Sun-Spots-Digest: Volume 7, Issue 248, message 12 of 13 PLEASE, can ldconfig(1) be distributed in the future as a statically linked executable ?? Apparently the ld.so.cache can get hosed somehow (ours is on our Sun-4, 4.0.1) and if the link-cache is hosed, all you get is a memory fault when you run a dynamically linked executable. So, running ldconfig to fix itself just gives a memory fault. I guess someone had some brains someplace since truncating the file seemed to mysteriously fix things enough that we could get ldconfig to run. Thank goodness I was running the Korn Shell and had echo built into my shell, since I couldn't run rm, ls, or any of those other useful programs. --mjr();