Skip to content

libssh2 audotetection failes on macOS with Homebrew #87

@peterpp

Description

@peterpp

If libssh2 is installed with Homebrew on macOS with Apple Silicone, installation of ssh2 fails with error:

configure: error: The required libssh2 library was not found.  You can obtain that package from http://sourceforge.net/projects/libssh2/
ERROR: `/private/tmp/pear/temp/ssh2/configure --with-php-config=/opt/homebrew/opt/php/bin/php-config --with-ssh2' failed

I have to set libssh2 prefix to /opt/homebrew/opt/libssh2 manually. It would be nice, if autodetection will resolve the right path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions