{"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:59:39Z","title":"ffi_lib not handling ncurses default installation on ubuntu","state":"open","updated_at":"2011-12-19T15:07:10Z","labels":[],"id":2078292,"html_url":"https://github.com/ffi/ffi/issues/168","closed_at":null,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"body":"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)\r\n\r\n-- it never actually tries libncurses.so.5 so it is not silently inspecting the data in the \"too short file\"\r\n","number":168,"url":"https://api.github.com/repos/ffi/ffi/issues/168","comments":3,"assignee":null},"comment":{"user":{"id":14740,"login":"pedroteixeira","url":"https://api.github.com/users/pedroteixeira","avatar_url":"https://secure.gravatar.com/avatar/7a82a9cea2cc399f4e066d91519b79b2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"7a82a9cea2cc399f4e066d91519b79b2"},"created_at":"2011-12-19T15:07:10Z","updated_at":"2011-12-19T15:07:10Z","id":3204128,"body":"Having the same issue here with Linux Mint (64bits)","url":"https://api.github.com/repos/ffi/ffi/issues/comments/3204128"},"action":"created"}