{"action":"created","issue":{"url":"https://api.github.com/repos/libgit2/libgit2/issues/2870","labels_url":"https://api.github.com/repos/libgit2/libgit2/issues/2870/labels{/name}","comments_url":"https://api.github.com/repos/libgit2/libgit2/issues/2870/comments","events_url":"https://api.github.com/repos/libgit2/libgit2/issues/2870/events","html_url":"https://github.com/libgit2/libgit2/pull/2870","id":56439729,"number":2870,"title":"Tell user if libssh was not found","user":{"login":"urkud","id":188813,"avatar_url":"https://avatars.githubusercontent.com/u/188813?v=3","gravatar_id":"","url":"https://api.github.com/users/urkud","html_url":"https://github.com/urkud","followers_url":"https://api.github.com/users/urkud/followers","following_url":"https://api.github.com/users/urkud/following{/other_user}","gists_url":"https://api.github.com/users/urkud/gists{/gist_id}","starred_url":"https://api.github.com/users/urkud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urkud/subscriptions","organizations_url":"https://api.github.com/users/urkud/orgs","repos_url":"https://api.github.com/users/urkud/repos","events_url":"https://api.github.com/users/urkud/events{/privacy}","received_events_url":"https://api.github.com/users/urkud/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-03T21:25:50Z","updated_at":"2015-10-23T13:36:21Z","closed_at":"2015-02-04T02:44:15Z","pull_request":{"url":"https://api.github.com/repos/libgit2/libgit2/pulls/2870","html_url":"https://github.com/libgit2/libgit2/pull/2870","diff_url":"https://github.com/libgit2/libgit2/pull/2870.diff","patch_url":"https://github.com/libgit2/libgit2/pull/2870.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/libgit2/libgit2/issues/comments/150574474","html_url":"https://github.com/libgit2/libgit2/pull/2870#issuecomment-150574474","issue_url":"https://api.github.com/repos/libgit2/libgit2/issues/2870","id":150574474,"user":{"login":"carlosmn","id":335443,"avatar_url":"https://avatars.githubusercontent.com/u/335443?v=3","gravatar_id":"","url":"https://api.github.com/users/carlosmn","html_url":"https://github.com/carlosmn","followers_url":"https://api.github.com/users/carlosmn/followers","following_url":"https://api.github.com/users/carlosmn/following{/other_user}","gists_url":"https://api.github.com/users/carlosmn/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosmn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosmn/subscriptions","organizations_url":"https://api.github.com/users/carlosmn/orgs","repos_url":"https://api.github.com/users/carlosmn/repos","events_url":"https://api.github.com/users/carlosmn/events{/privacy}","received_events_url":"https://api.github.com/users/carlosmn/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T13:36:21Z","updated_at":"2015-10-23T13:36:21Z","body":"There's not standard location *for libssh2*. Your operating system has a few standard paths where `pkg-config` will look for packages, typically `/usr/lib/` and `/usr/local/lib/` but there can be more depending on your OS and how it handles (or handled) 32-bit vs 64-bit vs multi-arch.\r\n\r\nIf you want CMake to find your libssh2, you need to add the pkgconfig path to the `PKG_CONFIG_PATH` for it to be able to find it. The prefixes don't have to be the same for libssh2 and libgit2, the build system just needs to know where libssh2 lives. You may then also need to adjust the library load paths if libssh2 is outside of the usual paths provided by your operating system. This is however about how your OS handles libraries and loading, rather than something libgit2 or libssh2 do."}}