libgit2 / libgit2/rugged

Unable to build with ssh support on OSX

Open
#739 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
2.3k
Forks
293
PR merge metrics
No merged PRs in 30d

Description

-- Checking for module 'libssh2'
--   Package 'libssl', required by 'libssh2', not found

I'm sure this has something to do with High Sierra, and the various versions of openssl provided.

I read through #476, and it's not the same problem, as I've got libssh2 installed, but apparently it doesn't know how to find the right openssl libs. I can't brew link openssl as it tells me to do:

$ brew link openssl
Warning: Refusing to link: openssl
Linking keg-only openssl means you may end up linking against the insecure,
deprecated system OpenSSL while using the headers from Homebrew's openssl.
Instead, pass the full include/library paths to your compiler e.g.:
  -I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib

What's the proper way to install libgit2, and rugged, on an OSX system using the right libraries?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the libssh2/pkg-config failure on macOS High Sierra with Homebrew's keg-only OpenSSL, then compare the reported include and library paths with the build configuration. The issue names no project file or test; done would be a documented, working installation path for libgit2 and rugged with SSH support.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, ruby
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.