PATH deals with binaries, not libraries

Rainer Müller raimue at macports.org
Wed Mar 22 13:58:46 UTC 2017


On 2017-03-22 08:54, Jan Stary wrote:
> Even if this gets rejected (as it seems to be the consensus
> to edit the user's shell configuration during the install),
> there is one bit of wording in installig.xml that I think
> should be changed (see diff below).
> 
> The PATH is where shell commands and shell scripts look for binaries.
> It has nothing to do with where a running binary looks for _libraries_,
> right? (Or does it?)
> 
> Also, the MacPorts paths are "prepended", not "appended" to the PATH.
> And it doesn't change the "default" PATH, it changes what the user has.
> And it doesn't matter whether it's "ported software".

You are completely right with all of that. Thank you for the corrections.

I committed these changes:
https://github.com/macports/macports-guide/commit/c9802bc055b1eff40ec33ed2233b242a08e4e68a

Rainer


More information about the macports-dev mailing list