{"action":"created","issue":{"url":"https://api.github.com/repos/randombit/botan/issues/128","labels_url":"https://api.github.com/repos/randombit/botan/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/randombit/botan/issues/128/comments","events_url":"https://api.github.com/repos/randombit/botan/issues/128/events","html_url":"https://github.com/randombit/botan/issues/128","id":90086185,"number":128,"title":"Is static linking without amalgamation supported","user":{"login":"webmaster128","id":2603011,"avatar_url":"https://avatars.githubusercontent.com/u/2603011?v=3","gravatar_id":"","url":"https://api.github.com/users/webmaster128","html_url":"https://github.com/webmaster128","followers_url":"https://api.github.com/users/webmaster128/followers","following_url":"https://api.github.com/users/webmaster128/following{/other_user}","gists_url":"https://api.github.com/users/webmaster128/gists{/gist_id}","starred_url":"https://api.github.com/users/webmaster128/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webmaster128/subscriptions","organizations_url":"https://api.github.com/users/webmaster128/orgs","repos_url":"https://api.github.com/users/webmaster128/repos","events_url":"https://api.github.com/users/webmaster128/events{/privacy}","received_events_url":"https://api.github.com/users/webmaster128/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/randombit/botan/labels/discussion","name":"discussion","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-06-22T12:32:33Z","updated_at":"2015-06-29T07:00:17Z","closed_at":null,"body":"At the moment static linking is only working using the `--via-amalgamation` flag. Now the question is: is this configuration supported or not.\r\n\r\nE.g. configuration\r\n\r\n```\r\n./configure.py --disable-shared\r\nmake -j 2\r\n./botan-test\r\n```\r\nleads to a bunch of errors and a SEGFAULT on Linux.\r\n\r\nNow there are basically two options (I have no opinion which one to choose):\r\n\r\n1. Support and fix static without amalgamation\r\n2. Don't support static without amalgamation, document it and exit with an error at configure time\r\n\r\nAny ideas? Pros? Cons?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/randombit/botan/issues/comments/116485095","html_url":"https://github.com/randombit/botan/issues/128#issuecomment-116485095","issue_url":"https://api.github.com/repos/randombit/botan/issues/128","id":116485095,"user":{"login":"cdesjardins","id":1149188,"avatar_url":"https://avatars.githubusercontent.com/u/1149188?v=3","gravatar_id":"","url":"https://api.github.com/users/cdesjardins","html_url":"https://github.com/cdesjardins","followers_url":"https://api.github.com/users/cdesjardins/followers","following_url":"https://api.github.com/users/cdesjardins/following{/other_user}","gists_url":"https://api.github.com/users/cdesjardins/gists{/gist_id}","starred_url":"https://api.github.com/users/cdesjardins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdesjardins/subscriptions","organizations_url":"https://api.github.com/users/cdesjardins/orgs","repos_url":"https://api.github.com/users/cdesjardins/repos","events_url":"https://api.github.com/users/cdesjardins/events{/privacy}","received_events_url":"https://api.github.com/users/cdesjardins/received_events","type":"User","site_admin":false},"created_at":"2015-06-29T07:00:17Z","updated_at":"2015-06-29T07:00:17Z","body":"Sorry I am so late to reply, I have been hiking around Ireland for the past few days, but this is good to know, at the end of the day I still like the factory pattern better than this string based interface, but that by itself does not solve the problem of getting each module to register their interfaces at init time..."}}