[sf-perl] poll: directory layout question
friedman at highwire.stanford.edu
Thu Apr 22 10:00:26 PDT 2010
I generally put everything together under /usr/local/lib, etc. because that way I only need one LD_LIBRARY_PATH for dynamically loaded libraries. If each tool is separate, then they need to have much more complicated paths to find the appropriate dynamic libraries.
(I've seen separate dirs handled via a tiny shell wrapper around each binary, as opposed to making a giant LD_LIBRARY_PATH for each user, but that's too much maintenance for me.)
Mike Friedman | HighWire Press, Stanford Univ | friedman at highwire.stanford.edu
On Apr 22, 2010, at 9:54 AM, David Alban wrote:
> say you're developing "tool 1.0".
> say tool has some config files you want in an etc directory and some
> state files you want in a lib directory. say you want tool under
> do you prefer this layout:
> or this layout:
> and why?
> i know both work. i've used both. but i'm curious as to the reasons
> you fine folks choose one over the other.
> Live in a world of your own, but always welcome visitors.
> SanFrancisco-pm mailing list
> SanFrancisco-pm at pm.org
More information about the SanFrancisco-pm