{"action":"created","issue":{"url":"https://api.github.com/repos/OpenSC/engine_pkcs11/issues/24","labels_url":"https://api.github.com/repos/OpenSC/engine_pkcs11/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/OpenSC/engine_pkcs11/issues/24/comments","events_url":"https://api.github.com/repos/OpenSC/engine_pkcs11/issues/24/events","html_url":"https://github.com/OpenSC/engine_pkcs11/issues/24","id":113448412,"number":24,"title":"Segmentation fault when loading engine on El Capitan","user":{"login":"nspassov","id":1455813,"avatar_url":"https://avatars.githubusercontent.com/u/1455813?v=3","gravatar_id":"","url":"https://api.github.com/users/nspassov","html_url":"https://github.com/nspassov","followers_url":"https://api.github.com/users/nspassov/followers","following_url":"https://api.github.com/users/nspassov/following{/other_user}","gists_url":"https://api.github.com/users/nspassov/gists{/gist_id}","starred_url":"https://api.github.com/users/nspassov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nspassov/subscriptions","organizations_url":"https://api.github.com/users/nspassov/orgs","repos_url":"https://api.github.com/users/nspassov/repos","events_url":"https://api.github.com/users/nspassov/events{/privacy}","received_events_url":"https://api.github.com/users/nspassov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-26T20:49:47Z","updated_at":"2016-01-30T16:55:21Z","closed_at":"2016-01-05T17:23:18Z","body":"Hi,\r\n\r\nI am getting segmentation fault 11 when trying to load the engine on El Capitan 10.11.1. I installed engine_pkcs11 via brew along with the dependencies. I also have OpenSC 0.15.\r\n\r\nThe following line produces segmentation fault:\r\n`engine dynamic -pre SO_PATH:/usr/local/Cellar/engine_pkcs11/0.1.8/lib/engines/engine_pkcs11.so -pre ID:pkcs11 -pre LIST_ADD:1 -pre LOAD -pre MODULE_PATH:/Library/OpenSC/lib/pkcs11/opensc-pkcs11.so`\r\n\r\nHowever, the following line executes ok:\r\n`engine dynamic -pre SO_PATH:/usr/local/Cellar/engine_pkcs11/0.1.8/lib/engines/engine_pkcs11.so -pre ID:pkcs11 -pre LIST_ADD:1 -pre LOAD`\r\n\r\nSubsequently trying to make a certificate request again results in segmentation fault.\r\n\r\nAny help will be appreciated!"},"comment":{"url":"https://api.github.com/repos/OpenSC/engine_pkcs11/issues/comments/177243812","html_url":"https://github.com/OpenSC/engine_pkcs11/issues/24#issuecomment-177243812","issue_url":"https://api.github.com/repos/OpenSC/engine_pkcs11/issues/24","id":177243812,"user":{"login":"nspassov","id":1455813,"avatar_url":"https://avatars.githubusercontent.com/u/1455813?v=3","gravatar_id":"","url":"https://api.github.com/users/nspassov","html_url":"https://github.com/nspassov","followers_url":"https://api.github.com/users/nspassov/followers","following_url":"https://api.github.com/users/nspassov/following{/other_user}","gists_url":"https://api.github.com/users/nspassov/gists{/gist_id}","starred_url":"https://api.github.com/users/nspassov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nspassov/subscriptions","organizations_url":"https://api.github.com/users/nspassov/orgs","repos_url":"https://api.github.com/users/nspassov/repos","events_url":"https://api.github.com/users/nspassov/events{/privacy}","received_events_url":"https://api.github.com/users/nspassov/received_events","type":"User","site_admin":false},"created_at":"2016-01-30T16:55:21Z","updated_at":"2016-01-30T16:55:21Z","body":"Thanks everyone for the replies! Got it working after I ran\r\n\r\n`brew install engine_pkcs11`\r\n\r\nEl Capitan 10.11.3"}}