> > See my followup message. That doesn't take care of shared libraries
> > across multiple platforms, for one. (That's the really major thing that
> > it doesn't take care of, but there are others.)
>
> I would argue that if a shared library has been properly installed, the
> runtime linker should know where to find it (e.g. via /etc/ld.so.conf or
> LD_LIBRARY_PATH, or...).
Solaris < 8 has no ld.so config file. If you install libraries outside
/lib or /usr/lib, which would be the case for most packages you compile
yourself, you must supply the correct linker options via LDFLAGS.
LD_LIBRARY_PATH is a horrible crutch. Don't use it, use either -rpath/-R
or the equivalent link time environment vars like LD_RUN_PATH.