Skip to content

PowerShell on macOS to work with MacPorts OpenSSL Libraries #8004

@kai-h

Description

@kai-h

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIssue has been identified as a bug in the productResolution-ExternalThe issue is caused by external component(s).WG-Maintainers-Buildspecific to affecting the build

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions