{"action":"created","issue":{"url":"https://api.github.com/repos/sconemad/sconeserver/issues/1","labels_url":"https://api.github.com/repos/sconemad/sconeserver/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/sconemad/sconeserver/issues/1/comments","events_url":"https://api.github.com/repos/sconemad/sconeserver/issues/1/events","html_url":"https://github.com/sconemad/sconeserver/pull/1","id":82836942,"number":1,"title":"configure: fix static linking with openSSL","user":{"login":"yann-morin-1998","id":3400200,"avatar_url":"https://avatars.githubusercontent.com/u/3400200?v=3","gravatar_id":"","url":"https://api.github.com/users/yann-morin-1998","html_url":"https://github.com/yann-morin-1998","followers_url":"https://api.github.com/users/yann-morin-1998/followers","following_url":"https://api.github.com/users/yann-morin-1998/following{/other_user}","gists_url":"https://api.github.com/users/yann-morin-1998/gists{/gist_id}","starred_url":"https://api.github.com/users/yann-morin-1998/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yann-morin-1998/subscriptions","organizations_url":"https://api.github.com/users/yann-morin-1998/orgs","repos_url":"https://api.github.com/users/yann-morin-1998/repos","events_url":"https://api.github.com/users/yann-morin-1998/events{/privacy}","received_events_url":"https://api.github.com/users/yann-morin-1998/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-30T15:15:00Z","updated_at":"2015-05-30T21:54:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sconemad/sconeserver/pulls/1","html_url":"https://github.com/sconemad/sconeserver/pull/1","diff_url":"https://github.com/sconemad/sconeserver/pull/1.diff","patch_url":"https://github.com/sconemad/sconeserver/pull/1.patch"},"body":"When doing static builds, the ordering of libs is important, as the\r\nlinker does not back-pedal to previous libraries specified on the\r\ncommand line to find missing symbols, and only searches for those\r\nmissing symbols in the following libs.\r\n\r\nThus, as -lssl needs symbols from -lcrypto, it needs to come before\r\n-lcrypto. Also, -lcrypto needs -lz, which is entirely missing.\r\n\r\nInstead of trying to hand-craft openSSL detection, use pkg-config to\r\nfind it; pkg-config will give us all the libraries that are needed to\r\nlink in -lssl , without us double-guessing anything! :-)\r\n\r\nSigned-off-by: \"Yann E. MORIN\" <yann.morin.1998@free.fr>"},"comment":{"url":"https://api.github.com/repos/sconemad/sconeserver/issues/comments/107092886","html_url":"https://github.com/sconemad/sconeserver/pull/1#issuecomment-107092886","issue_url":"https://api.github.com/repos/sconemad/sconeserver/issues/1","id":107092886,"user":{"login":"sconemad","id":2833067,"avatar_url":"https://avatars.githubusercontent.com/u/2833067?v=3","gravatar_id":"","url":"https://api.github.com/users/sconemad","html_url":"https://github.com/sconemad","followers_url":"https://api.github.com/users/sconemad/followers","following_url":"https://api.github.com/users/sconemad/following{/other_user}","gists_url":"https://api.github.com/users/sconemad/gists{/gist_id}","starred_url":"https://api.github.com/users/sconemad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sconemad/subscriptions","organizations_url":"https://api.github.com/users/sconemad/orgs","repos_url":"https://api.github.com/users/sconemad/repos","events_url":"https://api.github.com/users/sconemad/events{/privacy}","received_events_url":"https://api.github.com/users/sconemad/received_events","type":"User","site_admin":false},"created_at":"2015-05-30T21:54:24Z","updated_at":"2015-05-30T21:54:24Z","body":"No, I've certainly no objection - it looks good to me. Most of the autoconf stuff was written a very long time ago when I didn't know any better!\r\n\r\nThanks for the contribution Yann."}}