symlink app lib to common libs

Joerg Sonnenberger joerg at britannica.bec.de
Thu Apr 28 07:25:50 PDT 2005


On Thu, Apr 28, 2005 at 09:00:43AM -0500, Walter wrote:
> Then THOSE libraries could be placed directly in the lib
> sub-dir, rather than a symlink, could they not?  In fact,
> don't even bother with symlinks for the common libraries,
> but just add (something like) "./lib' in front of the
> global library path(???), to keep the non-base libs out
> of /usr/local/lib. (Can this be done?)

No, this is a invitation for security problems. The whole
argument boils down to BeOS (and OS-X for that matter) normally
include all the libs with the program, you can do the same for
UNIX, but it is normally not wanted. It's not a hack, actually,
it's very easy to write a few shell scripts to compile and install
e.g. Apache that way.

Joerg





More information about the Users mailing list