{"action":"created","issue":{"url":"https://api.github.com/repos/apiaryio/redsnow/issues/51","labels_url":"https://api.github.com/repos/apiaryio/redsnow/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/apiaryio/redsnow/issues/51/comments","events_url":"https://api.github.com/repos/apiaryio/redsnow/issues/51/events","html_url":"https://github.com/apiaryio/redsnow/issues/51","id":58099976,"number":51,"title":"Can't find 'libsnowcrash.so' when trying to require gem on RedHat 6","user":{"login":"tobiashm","id":5422,"avatar_url":"https://avatars.githubusercontent.com/u/5422?v=3","gravatar_id":"","url":"https://api.github.com/users/tobiashm","html_url":"https://github.com/tobiashm","followers_url":"https://api.github.com/users/tobiashm/followers","following_url":"https://api.github.com/users/tobiashm/following{/other_user}","gists_url":"https://api.github.com/users/tobiashm/gists{/gist_id}","starred_url":"https://api.github.com/users/tobiashm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobiashm/subscriptions","organizations_url":"https://api.github.com/users/tobiashm/orgs","repos_url":"https://api.github.com/users/tobiashm/repos","events_url":"https://api.github.com/users/tobiashm/events{/privacy}","received_events_url":"https://api.github.com/users/tobiashm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-18T17:32:32Z","updated_at":"2015-02-19T07:41:39Z","closed_at":null,"body":"The gem installs just fine, but when trying to require it, it fails with a message about 'libsnowcrash.so' not being found.\r\n\r\n```\r\n$ gem install redsnow\r\n...\r\nFetching: redsnow-0.3.4.gem (100%)\r\nBuilding native extensions.  This could take a while...\r\nSuccessfully installed redsnow-0.3.4\r\n...\r\n$ irb\r\n2.1.5 :001 > require \"redsnow\"\r\nLoadError: Could not open library '/.../ruby-2.1.5/gems/redsnow-0.3.4/ext/snowcrash/build/out/Release/lib.target/libsnowcrash.so': /.../ruby-2.1.5/gems/redsnow-0.3.4/ext/snowcrash/build/out/Release/lib.target/libsnowcrash.so: cannot open shared object file: No such file or directory\r\n\tfrom /.../ruby-2.1.5/gems/ffi-1.9.6/lib/ffi/library.rb:133:in `block in ffi_lib'\r\n\tfrom /.../ruby-2.1.5/gems/ffi-1.9.6/lib/ffi/library.rb:100:in `map'\r\n\tfrom /.../ruby-2.1.5/gems/ffi-1.9.6/lib/ffi/library.rb:100:in `ffi_lib'\r\n\tfrom /.../ruby-2.1.5/gems/redsnow-0.3.4/lib/redsnow/binding.rb:12:in `<module:Binding>'\r\n\tfrom /.../ruby-2.1.5/gems/redsnow-0.3.4/lib/redsnow/binding.rb:7:in `<module:RedSnow>'\r\n\tfrom /.../ruby-2.1.5/gems/redsnow-0.3.4/lib/redsnow/binding.rb:3:in `<top (required)>'\r\n\tfrom /.../ruby-2.1.5/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require'\r\n\tfrom /.../ruby-2.1.5/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require'\r\n\tfrom /.../ruby-2.1.5/gems/redsnow-0.3.4/lib/redsnow.rb:2:in `<top (required)>'\r\n```\r\n\r\nI've seen a couple of issues about snowcrash not building correctly in some situations, but I don't have the knowledge to determine if this problem is related."},"comment":{"url":"https://api.github.com/repos/apiaryio/redsnow/issues/comments/75010129","html_url":"https://github.com/apiaryio/redsnow/issues/51#issuecomment-75010129","issue_url":"https://api.github.com/repos/apiaryio/redsnow/issues/51","id":75010129,"user":{"login":"tobiashm","id":5422,"avatar_url":"https://avatars.githubusercontent.com/u/5422?v=3","gravatar_id":"","url":"https://api.github.com/users/tobiashm","html_url":"https://github.com/tobiashm","followers_url":"https://api.github.com/users/tobiashm/followers","following_url":"https://api.github.com/users/tobiashm/following{/other_user}","gists_url":"https://api.github.com/users/tobiashm/gists{/gist_id}","starred_url":"https://api.github.com/users/tobiashm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobiashm/subscriptions","organizations_url":"https://api.github.com/users/tobiashm/orgs","repos_url":"https://api.github.com/users/tobiashm/repos","events_url":"https://api.github.com/users/tobiashm/events{/privacy}","received_events_url":"https://api.github.com/users/tobiashm/received_events","type":"User","site_admin":false},"created_at":"2015-02-19T07:41:39Z","updated_at":"2015-02-19T07:41:39Z","body":"Some output from running `gem install -V --debug redsnow` on the server where it fails:\r\n```\r\nPath to library /.../ruby-2.1.5/gems/redsnow-0.3.4/ext/snowcrash/build/out/Release/lib.target/libsnowcrash.so\r\nCompiling extension...\r\nTraceback (most recent call last):\r\n  File \"tools/gyp/gyp_main.py\", line 18, in <module>\r\n    sys.exit(gyp.script_main())\r\nAttributeError: 'module' object has no attribute 'script_main'\r\nMakefile:358: test-libsnowcrash.target.mk: No such file or directory\r\nmake[1]: *** No rule to make target `test-libsnowcrash.target.mk'.  Stop.\r\nmake: *** [libsnowcrash] Error 2\r\nCompiling done.\r\n```"}}