-
Notifications
You must be signed in to change notification settings - Fork 8.2k
PowerShell on macOS to work with MacPorts OpenSSL Libraries #8004
Description
Further to issue #5561
Can we please have PowerShell work out of the box with MacPorts' installed OpenSSL libraries.
PowerShell is hard coded to specifically look in /usr/local/opt/openssl/lib for the OpenSSL Libraries. This is where Homebrew installs them.
MacPorts installs the libraries in /opt/local/lib instead.
If I symlink the Homebrew location to the MacPorts location, then PowerShell works but it would be very nice to not have this extra step when installing PowerShell.
sudo ln -s /opt/local/lib /usr/local/opt/openssl/lib
As an aside, many systems administrators consider Homebrew to be a significant security risk as it changes the ownership of key system folders from root to the currently logged in user. It does not work in multi-user environments and it goes against the Unix philosophy of making 3rd party software have a minimal impact on a running system and be self-contained.