{"action":"created","issue":{"url":"https://api.github.com/repos/rainbeam/eth-static/issues/1","repository_url":"https://api.github.com/repos/rainbeam/eth-static","labels_url":"https://api.github.com/repos/rainbeam/eth-static/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/rainbeam/eth-static/issues/1/comments","events_url":"https://api.github.com/repos/rainbeam/eth-static/issues/1/events","html_url":"https://github.com/rainbeam/eth-static/issues/1","id":151139815,"number":1,"title":"Statically linking libcurl","user":{"login":"rainbeam","id":18486361,"avatar_url":"https://avatars.githubusercontent.com/u/18486361?v=3","gravatar_id":"","url":"https://api.github.com/users/rainbeam","html_url":"https://github.com/rainbeam","followers_url":"https://api.github.com/users/rainbeam/followers","following_url":"https://api.github.com/users/rainbeam/following{/other_user}","gists_url":"https://api.github.com/users/rainbeam/gists{/gist_id}","starred_url":"https://api.github.com/users/rainbeam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rainbeam/subscriptions","organizations_url":"https://api.github.com/users/rainbeam/orgs","repos_url":"https://api.github.com/users/rainbeam/repos","events_url":"https://api.github.com/users/rainbeam/events{/privacy}","received_events_url":"https://api.github.com/users/rainbeam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-26T13:47:40Z","updated_at":"2016-04-26T13:57:11Z","closed_at":null,"body":"Big problems static linking against libcurl\r\n\r\nexample build: https://travis-ci.org/rainbeam/eth-static/builds/125797754\r\n\r\nProblem seems to be in libcurl accessing libssh2, e.g.\r\n\r\n```\r\n/usr/lib/gcc/x86_64-alpine-linux-musl/5.3.0/../../../../lib/libcurl.a(libcurl_la-easy.o): In function `global_init':\r\neasy.c:(.text+0x71): undefined reference to `libssh2_init'\r\n```"},"comment":{"url":"https://api.github.com/repos/rainbeam/eth-static/issues/comments/214753524","html_url":"https://github.com/rainbeam/eth-static/issues/1#issuecomment-214753524","issue_url":"https://api.github.com/repos/rainbeam/eth-static/issues/1","id":214753524,"user":{"login":"rainbeam","id":18486361,"avatar_url":"https://avatars.githubusercontent.com/u/18486361?v=3","gravatar_id":"","url":"https://api.github.com/users/rainbeam","html_url":"https://github.com/rainbeam","followers_url":"https://api.github.com/users/rainbeam/followers","following_url":"https://api.github.com/users/rainbeam/following{/other_user}","gists_url":"https://api.github.com/users/rainbeam/gists{/gist_id}","starred_url":"https://api.github.com/users/rainbeam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rainbeam/subscriptions","organizations_url":"https://api.github.com/users/rainbeam/orgs","repos_url":"https://api.github.com/users/rainbeam/repos","events_url":"https://api.github.com/users/rainbeam/events{/privacy}","received_events_url":"https://api.github.com/users/rainbeam/received_events","type":"User","site_admin":false},"created_at":"2016-04-26T13:57:11Z","updated_at":"2016-04-26T13:57:11Z","body":"There is a special build flag for libssh2, `LIBSSH2_API`, which seems to control whether functions are exposed or not. This isn't well documented. Have tried building ssh / curl with the flag but no success."}}