{"issue":{"milestone":null,"user":{"id":248927,"login":"robbiemu","url":"https://api.github.com/users/robbiemu","avatar_url":"https://secure.gravatar.com/avatar/30afcc018d25e3b4b6bd7b89f97fba90?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"30afcc018d25e3b4b6bd7b89f97fba90"},"created_at":"2011-10-28T12:56:28Z","title":"ubuntu and ncurses","updated_at":"2011-12-19T05:55:59Z","labels":[],"state":"closed","id":2078267,"html_url":"https://github.com/seanohalpin/ffi-ncurses/issues/7","closed_at":"2011-10-28T16:19:05Z","pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"body":"I'm not sure if this is your issue or if I should really pass this on to FFI. Ubuntu packages ncurses in a way that ruby is not loading:\r\n\r\n$ ruby test.rb\r\n...\r\n/home/robbiemu/bin/lib/ruby/gems/1.9.1/gems/ffi-1.0.10/lib/ffi/library.rb:121:in `block in ffi_lib': Could not open library 'ncursesw': ncursesw: cannot open shared object file: No such file or directory. (LoadError)\r\n...\r\nCould not open library 'libncurses.so': /usr/lib/libncurses.so: file too short.\r\nCould not open library 'libcurses': libcurses: cannot open shared object file: No such file or directory.\r\nCould not open library 'libcurses.so': /usr/lib/libcurses.so: file too short\r\n...\r\n$ cat /usr/lib/libncurses.so\r\nINPUT(libncurses.so.5 -ltinfo)","number":7,"url":"https://api.github.com/repos/seanohalpin/ffi-ncurses/issues/7","comments":9,"assignee":null},"comment":{"user":{"id":140491,"login":"keshavkuruva","url":"https://api.github.com/users/keshavkuruva","avatar_url":"https://secure.gravatar.com/avatar/011fa58d14c9f1608a0e1d054dde8407?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"011fa58d14c9f1608a0e1d054dde8407"},"created_at":"2011-12-19T05:55:59Z","updated_at":"2011-12-19T05:55:59Z","id":3199624,"body":"keshav@keshav-laptop:/lib/i386-linux-gnu$ ls -al /lib/i386-linux-gnu/libncursesw.so.5\r\nlrwxrwxrwx 1 root root 18 Nov 18 18:46 /lib/i386-linux-gnu/libncursesw.so.5 -> libncursesw.so.5.9\r\n\r\n\r\n","url":"https://api.github.com/repos/seanohalpin/ffi-ncurses/issues/comments/3199624"},"action":"created"}