{"action":"created","issue":{"url":"https://api.github.com/repos/jnr/jffi/issues/30","repository_url":"https://api.github.com/repos/jnr/jffi","labels_url":"https://api.github.com/repos/jnr/jffi/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/jnr/jffi/issues/30/comments","events_url":"https://api.github.com/repos/jnr/jffi/issues/30/events","html_url":"https://github.com/jnr/jffi/issues/30","id":146057521,"number":30,"title":"Can't find libjffi-1.2.so on Raspbian Raspberry Pi","user":{"login":"ghost","id":10137,"avatar_url":"https://avatars.githubusercontent.com/u/10137?v=3","gravatar_id":"","url":"https://api.github.com/users/ghost","html_url":"https://github.com/ghost","followers_url":"https://api.github.com/users/ghost/followers","following_url":"https://api.github.com/users/ghost/following{/other_user}","gists_url":"https://api.github.com/users/ghost/gists{/gist_id}","starred_url":"https://api.github.com/users/ghost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghost/subscriptions","organizations_url":"https://api.github.com/users/ghost/orgs","repos_url":"https://api.github.com/users/ghost/repos","events_url":"https://api.github.com/users/ghost/events{/privacy}","received_events_url":"https://api.github.com/users/ghost/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/jnr/jffi/milestones/9","html_url":"https://github.com/jnr/jffi/milestones/1.2.13","labels_url":"https://api.github.com/repos/jnr/jffi/milestones/9/labels","id":1772572,"number":9,"title":"1.2.13","description":"","creator":{"login":"headius","id":10135,"avatar_url":"https://avatars.githubusercontent.com/u/10135?v=3","gravatar_id":"","url":"https://api.github.com/users/headius","html_url":"https://github.com/headius","followers_url":"https://api.github.com/users/headius/followers","following_url":"https://api.github.com/users/headius/following{/other_user}","gists_url":"https://api.github.com/users/headius/gists{/gist_id}","starred_url":"https://api.github.com/users/headius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/headius/subscriptions","organizations_url":"https://api.github.com/users/headius/orgs","repos_url":"https://api.github.com/users/headius/repos","events_url":"https://api.github.com/users/headius/events{/privacy}","received_events_url":"https://api.github.com/users/headius/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":1,"state":"closed","created_at":"2016-05-17T20:47:09Z","updated_at":"2016-11-11T06:25:18Z","due_on":null,"closed_at":"2016-09-28T23:20:00Z"},"comments":6,"created_at":"2016-04-05T17:36:32Z","updated_at":"2016-11-11T06:25:18Z","closed_at":null,"body":"I have been running this library on my Mac OS machine with no problem but am experiencing a world of pain when it comes to running on my Raspberry Pi.\n\nThe crux of the problem is that this library fails to load \"libjffi-1.2.so\". I can see it is searching in various locations where the file does exist. I can also see that it is trying to access some long tmp file with a .so extension from /tmp.\n\nBasically, the errors are basically showing me the path where the failed to be read but for some of them the file exists in the relevant path, which should have been picked up, but it's not.\n\nSome things I have tried to no avail:\n- set java.library.path\n- set LD_LIBRARY_PATH\n- sudo apt get install libjna-java\n- set java.io.tmpdir to a local folder to alleviate any possible perm issues with /tmp\n- sudo ldconfig\n\nAlso, please note I am using the appropriate arm-linux version of libjffi-1.2.so.\n\nNone of these have worked so I am turning to this repo for assistance. Does anybody know why I am experiencing such pain? Yes it is pain because I have been trying for ages to get this working :(\n\nAny help will be greatly appreciated.\n"},"comment":{"url":"https://api.github.com/repos/jnr/jffi/issues/comments/259890337","html_url":"https://github.com/jnr/jffi/issues/30#issuecomment-259890337","issue_url":"https://api.github.com/repos/jnr/jffi/issues/30","id":259890337,"user":{"login":"headius","id":10135,"avatar_url":"https://avatars.githubusercontent.com/u/10135?v=3","gravatar_id":"","url":"https://api.github.com/users/headius","html_url":"https://github.com/headius","followers_url":"https://api.github.com/users/headius/followers","following_url":"https://api.github.com/users/headius/following{/other_user}","gists_url":"https://api.github.com/users/headius/gists{/gist_id}","starred_url":"https://api.github.com/users/headius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/headius/subscriptions","organizations_url":"https://api.github.com/users/headius/orgs","repos_url":"https://api.github.com/users/headius/repos","events_url":"https://api.github.com/users/headius/events{/privacy}","received_events_url":"https://api.github.com/users/headius/received_events","type":"User","site_admin":false},"created_at":"2016-11-11T06:25:18Z","updated_at":"2016-11-11T06:25:18Z","body":"I'm reopening this. I had trouble getting JRuby 9.1.6.0 to load on a Raspberry Pi 3 with current Raspbian. No matter where I put the .so it always says \"could not load shared library libjffi-1.2.so: file not found\" or something similar.\r\n\r\nWe also have some minor issues running basic commands without native support loaded. I'll file separate issues for those later.\r\n\r\nI managed to get jirb up and going but only by commenting out lines in irb/input-method.rb that attempt to open file descriptors directly."}}
{"actor":{"display_login":"headius"}}