On Apr 14, 2000, Kevin Atkinson <[EMAIL PROTECTED]> wrote:
> Doesn't either setting LD_LIBRARY_PATH (or the equivalent variable for
> your particular system) or adding the weird location to /etc/ld.so.conf
> (or the equivalent file for your particular system) generally solve the
> problem?
It solves it at run-time. But when you're installing programs for
others to use, and you don't want them to have to mess around with any
of those, i.e., you want the programs to ``just work'', this just
doesn't cut it.
> Wouldn't manually infusing the location of the library into
> executables cause problems if the libraries are ever moved?
No. It would only require LD_LIBRARY_PATH or equivalent to be set, or
/etc/ld.so.conf or equivalent (where available) to be modified.
Unless you were to place new libraries where the ones you moved used
to be.
> It would seam to me that it will also make an executable extremely
> non portable across multiple sytems....
As long as the multiple systems all mount the directories onto the
same place, it works wonderfully well :-)
--
Alexandre Oliva Enjoy Guaranį, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org} Write to mailing lists, not to me