Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!goanna.cs.rmit.edu.au!news.apana.org.au!cantor.edge.net.au!news.teragen.com.au!news.access.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.Hawaii.Edu!news.caldera.com!enews.sgi.com!news.corp.sgi.com!news.sgi.com!news-peer.sprintlink.net!news.sprintlink.net!sprint!newsfeed.internetmci.com!news-was.dfn.de!news-kar1.dfn.de!news-fra1.dfn.de!news-ber1.dfn.de!zrz.TU-Berlin.DE!cs.tu-berlin.de!news.uni-hamburg.de!news.d krz.de!news.tu-harburg.de!news.dfn.de!newsjunkie.ans.net!newsfeeds.ans.net!paperboy.amoco.com!tabloid!usenet From: sfarmer@amoco.com (Steven L. Farmer) Newsgroups: comp.unix.bsd.freebsd.misc Subject: ldconfig mystery after upgrade install Date: 16 Apr 1997 08:32:58 -0700 Organization: Coherence Cube Team Lines: 27 Sender: zslf08@gpss97 Message-ID: <5n3esrgez9.fsf@amoco.com> Reply-To: sfarmer@amoco.com, slfarmer@swbell.net X-Newsreader: Gnus v5.2.25/XEmacs 19.14 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:39172 After an ftp upgrade of 2.1.7-RELEASE to 2.2.1-RELEASE overnight, I was pleased this morning to see that everything appeared to have worked. However, I quickly discovered that X apps fail to find various shared libs. According to ldconfig, the missing libs are installed in ld.so.hints, which is readable by everyone, and the libs are where they should be. Setting LD_LIBRARY_PATH to /usr/X11R6/lib gets around the problem, but isn't a good long-term solution since it doesn't work for setuid root programs like xterm. I don't yet know if more than X progs are affected (the nerve of some people; actually expecting me to show up to work!) but I *was* able to do a kernel build with no problems. A search of the mailing lists and old news articles shows that I'm not the first to run into this one, but no solutions were proposed. I'll see if I can turn up anthing using ktrace tonight. Meanwhile, if anyone out there has a clue, I'd be most grateful to hear it! Thanks, Steve