{"action":"created","issue":{"url":"https://api.github.com/repos/le0pard/webp-ffi/issues/11","labels_url":"https://api.github.com/repos/le0pard/webp-ffi/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/le0pard/webp-ffi/issues/11/comments","events_url":"https://api.github.com/repos/le0pard/webp-ffi/issues/11/events","html_url":"https://github.com/le0pard/webp-ffi/issues/11","id":111988708,"number":11,"title":"Version mismatch - what does it mean and how do I fix it?","user":{"login":"JakeTheSnake3p0","id":6055027,"avatar_url":"https://avatars.githubusercontent.com/u/6055027?v=3","gravatar_id":"","url":"https://api.github.com/users/JakeTheSnake3p0","html_url":"https://github.com/JakeTheSnake3p0","followers_url":"https://api.github.com/users/JakeTheSnake3p0/followers","following_url":"https://api.github.com/users/JakeTheSnake3p0/following{/other_user}","gists_url":"https://api.github.com/users/JakeTheSnake3p0/gists{/gist_id}","starred_url":"https://api.github.com/users/JakeTheSnake3p0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakeTheSnake3p0/subscriptions","organizations_url":"https://api.github.com/users/JakeTheSnake3p0/orgs","repos_url":"https://api.github.com/users/JakeTheSnake3p0/repos","events_url":"https://api.github.com/users/JakeTheSnake3p0/events{/privacy}","received_events_url":"https://api.github.com/users/JakeTheSnake3p0/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-17T22:39:33Z","updated_at":"2015-10-18T17:08:33Z","closed_at":null,"body":"I've received an error using the sprockets-webp gem that I've traced back to this gem. Whenever I try to encode with Webp I get the error `WebP::EncoderError: Version mismatch`.\r\n\r\nLooking at your manual there's a discrepancy in the output by `WebP.decoder_version` and likewise with `WebP.encoder_version`. I get version `0.1.3` and I have installed libwebp at version `0.4.3` as indicated when calling `cwebp -version` in the console. How does this gem discover the executable? I'm guessing there's another version somewhere in my system but I can't find it (`whereis cwebp` only returns one result and it's the `0.4.3` installation)."},"comment":{"url":"https://api.github.com/repos/le0pard/webp-ffi/issues/comments/149030985","html_url":"https://github.com/le0pard/webp-ffi/issues/11#issuecomment-149030985","issue_url":"https://api.github.com/repos/le0pard/webp-ffi/issues/11","id":149030985,"user":{"login":"le0pard","id":98444,"avatar_url":"https://avatars.githubusercontent.com/u/98444?v=3","gravatar_id":"","url":"https://api.github.com/users/le0pard","html_url":"https://github.com/le0pard","followers_url":"https://api.github.com/users/le0pard/followers","following_url":"https://api.github.com/users/le0pard/following{/other_user}","gists_url":"https://api.github.com/users/le0pard/gists{/gist_id}","starred_url":"https://api.github.com/users/le0pard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/le0pard/subscriptions","organizations_url":"https://api.github.com/users/le0pard/orgs","repos_url":"https://api.github.com/users/le0pard/repos","events_url":"https://api.github.com/users/le0pard/events{/privacy}","received_events_url":"https://api.github.com/users/le0pard/received_events","type":"User","site_admin":false},"created_at":"2015-10-18T17:08:33Z","updated_at":"2015-10-18T17:08:33Z","body":"Yes, and it have in bottom such instruction\r\n\r\n> Next, you should install libwebp (if you didn't install it by brew in Mac OS or by apt-get in Ubuntu or Debian). Webp library version should be >= 0.3.0. This gem is not support Windows systems.\r\n\r\nSo, if you old linux system, which doesn't contain Webp >= 0.3.0, you should install it manually, not from package. But for example ubuntu 15.04 have new libwebp in packages, so just need install it from packages."}}