Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!newspump.sol.net!howland.erols.net!news.mathworks.com!uunet!in1.uu.net!140.174.88.1!wsrcc.com!not-for-mail From: wolfgang@wsrcc.com (Wolfgang Rupprecht) Newsgroups: comp.unix.bsd.netbsd.misc Subject: Re: LD_LIBRARY_PATH and XFree86 3.2 on NetBSD/i386 Date: 2 Jan 1997 02:35:59 -0800 Organization: W S Rupprecht Computer Consulting, Fremont CA Lines: 24 Message-ID: <5ag32f$84c@wsrcc.com> References: <5a9ht3$sn6@wsrcc.com> <5aelbp$ekf@colwyn.owl.de> NNTP-Posting-Host: wsrcc.com X-Newsreader: NN version 6.5.0 #5 (NOV) Xref: euryale.cc.adfa.oz.au comp.unix.bsd.netbsd.misc:5052 tron@lyssa.owl.de (Matthias Scheler) writes: >> In the SunOS way of handling this, one could link an absolute path >> into the executable and ... >What should be the advantage of compiling absolute paths into binaries? It allows one a bit of flexibility when upgrading large software collections like X11 or kerberos. In my case both packages are so fundamental to the operation of my systems that life would be extremely painful if an upgrade to either package would fail. One way to slowly upgrade is to recompile say X11R6.3 and install it in a slightly different place -- say /usr/X11R6.3 instead of /usr/X11R6.1 . Both X11 trees would of course have their own .../lib/libX*.so.1 files. Using a global search path (such as using "ldconfig directory-name") would force everything in the system to use one library directory or the other. Using compiled in paths lets one test out a new package one program at a time. Each new program uses the new library and each old program still uses the old libraries. -wolfgang -- Wolfgang Rupprecht <wolfgang@wsrcc.com> <http://www.wsrcc.com/> Sick of email spam? <http://www.vix.com/spam/>