{"action":"created","issue":{"url":"https://api.github.com/repos/peerlibrary/meteor-pdf.js/issues/19","labels_url":"https://api.github.com/repos/peerlibrary/meteor-pdf.js/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/peerlibrary/meteor-pdf.js/issues/19/comments","events_url":"https://api.github.com/repos/peerlibrary/meteor-pdf.js/issues/19/events","html_url":"https://github.com/peerlibrary/meteor-pdf.js/issues/19","id":121090329,"number":19,"title":"Getting libgif missing errors vagrant/ubuntu and home-brew.","user":{"login":"ncrmro","id":8276365,"avatar_url":"https://avatars.githubusercontent.com/u/8276365?v=3","gravatar_id":"","url":"https://api.github.com/users/ncrmro","html_url":"https://github.com/ncrmro","followers_url":"https://api.github.com/users/ncrmro/followers","following_url":"https://api.github.com/users/ncrmro/following{/other_user}","gists_url":"https://api.github.com/users/ncrmro/gists{/gist_id}","starred_url":"https://api.github.com/users/ncrmro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncrmro/subscriptions","organizations_url":"https://api.github.com/users/ncrmro/orgs","repos_url":"https://api.github.com/users/ncrmro/repos","events_url":"https://api.github.com/users/ncrmro/events{/privacy}","received_events_url":"https://api.github.com/users/ncrmro/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-08T20:18:16Z","updated_at":"2015-12-08T21:07:03Z","closed_at":"2015-12-08T21:07:03Z","body":"I'm getting the same issue as wimco on vagrant ubuntu and home-brew os x I've used the following commands\r\n\r\nOS X \r\n\r\n```\r\n=> Exited with code: 8\r\nW20151208-14:12:25.689(-6)? (STDERR)          \r\nW20151208-14:12:25.689(-6)? (STDERR) /Users/ncrmro/.meteor/packages/meteor-tool/.1.1.10.102f3ag++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:245\r\nW20151208-14:12:25.689(-6)? (STDERR)                                            throw(ex);\r\nW20151208-14:12:25.689(-6)? (STDERR)                                                  ^\r\nW20151208-14:12:25.751(-6)? (STDERR) Error: dlopen(/Users/ncrmro/.meteor/packages/peerlibrary_pdf.js/.1.0.791_4.d8ohlj++os.osx.x86_64+web.browser+web.cordova/npm/node_modules/canvas/build/Release/canvas.node, 1): Library not loaded: /usr/local/lib/libgif.4.1.6.dylib\r\nW20151208-14:12:25.751(-6)? (STDERR)   Referenced from: /Users/ncrmro/.meteor/packages/peerlibrary_pdf.js/.1.0.791_4.d8ohlj++os.osx.x86_64+web.browser+web.cordova/npm/node_modules/canvas/build/Release/canvas.node\r\nW20151208-14:12:25.751(-6)? (STDERR)   Reason: image not found\r\nW20151208-14:12:25.751(-6)? (STDERR)     at Module.load (module.js:356:32)\r\nW20151208-14:12:25.752(-6)? (STDERR)     at Function.Module._load (module.js:312:12)\r\nW20151208-14:12:25.752(-6)? (STDERR)     at Module.require (module.js:364:17)\r\nW20151208-14:12:25.752(-6)? (STDERR)     at require (module.js:380:17)\r\nW20151208-14:12:25.752(-6)? (STDERR)     at Object.<anonymous> (/Users/ncrmro/.meteor/packages/peerlibrary_pdf.js/.1.0.791_4.d8ohlj++os.osx.x86_64+web.browser+web.cordova/npm/node_modules/canvas/lib/bindings.js:2:18)\r\nW20151208-14:12:25.752(-6)? (STDERR)     at Module._compile (module.js:456:26)\r\nW20151208-14:12:25.752(-6)? (STDERR)     at Object.Module._extensions..js (module.js:474:10)\r\nW20151208-14:12:25.752(-6)? (STDERR)     at Module.load (module.js:356:32)\r\nW20151208-14:12:25.752(-6)? (STDERR)     at Function.Module._load (module.js:312:12)\r\nW20151208-14:12:25.752(-6)? (STDERR)     at Module.require (module.js:364:17)\r\nW20151208-14:12:25.752(-6)? (STDERR)     at require (module.js:380:17)\r\nW20151208-14:12:25.752(-6)? (STDERR)     at Object.<anonymous> (/Users/ncrmro/.meteor/packages/peerlibrary_pdf.js/.1.0.791_4.d8ohlj++os.osx.x86_64+web.browser+web.cordova/npm/node_modules/canvas/lib/canvas.js:12:14)\r\nW20151208-14:12:25.752(-6)? (STDERR)     at Module._compile (module.js:456:26)\r\nW20151208-14:12:25.752(-6)? (STDERR)     at Object.Module._extensions..js (module.js:474:10)\r\nW20151208-14:12:25.752(-6)? (STDERR)     at Module.load (module.js:356:32)\r\nW20151208-14:12:25.752(-6)? (STDERR)     at Function.Module._load (module.js:312:12)\r\nW20151208-14:12:25.752(-6)? (STDERR)     at Module.require (module.js:364:17)\r\nW20151208-14:12:25.752(-6)? (STDERR)     at require (module.js:380:17)\r\nW20151208-14:12:25.752(-6)? (STDERR)     at Object.Npm.require (/Users/ncrmro/Programming/kaasol/.meteor/local/build/programs/server/boot.js:162:18)\r\nW20151208-14:12:25.752(-6)? (STDERR)     at Package (meteor://💻app/packages/peerlibrary_pdf.js/packages/peerlibrary_pdf.js.js:1148:1)\r\nW20151208-14:12:25.753(-6)? (STDERR)     at Package (meteor://💻app/packages/peerlibrary_pdf.js/packages/peerlibrary_pdf.js.js:1406:1)\r\nW20151208-14:12:25.753(-6)? (STDERR)     at /Users/ncrmro/Programming/kaasol/.meteor/local/build/programs/server/packages/peerlibrary_pdf.js.js:1427:4\r\nW20151208-14:12:25.753(-6)? (STDERR)     at /Users/ncrmro/Programming/kaasol/.meteor/local/build/programs/server/packages/peerlibrary_pdf.js.js:1436:3\r\nW20151208-14:12:25.753(-6)? (STDERR)     at /Users/ncrmro/Programming/kaasol/.meteor/local/build/programs/server/boot.js:242:10\r\nW20151208-14:12:25.753(-6)? (STDERR)     at Array.forEach (native)\r\nW20151208-14:12:25.753(-6)? (STDERR)     at Function._.each._.forEach (/Users/ncrmro/.meteor/packages/meteor-tool/.1.1.10.102f3ag++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/underscore/underscore.js:79:11)\r\nW20151208-14:12:25.753(-6)? (STDERR)     at /Users/ncrmro/Programming/kaasol/.meteor/local/build/programs/server/boot.js:137:5\r\n=> Exited with code: 8\r\n```\r\n\r\nUbuntu Vagrant\r\n```\r\nW20151208-19:19:33.920(0)? (STDERR)           \r\nW20151208-19:19:33.921(0)? (STDERR) /home/vagrant/.meteor/packages/meteor-tool/.1.1.10.ki0ccv++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:245\r\nW20151208-19:19:33.922(0)? (STDERR)                                             throw(ex);\r\nW20151208-19:19:33.922(0)? (STDERR)                                                   ^\r\nW20151208-19:19:34.021(0)? (STDERR) Error: libgif.so.4: cannot open shared object file: No such file or directory\r\nW20151208-19:19:34.022(0)? (STDERR)     at Module.load (module.js:356:32)\r\nW20151208-19:19:34.022(0)? (STDERR)     at Function.Module._load (module.js:312:12)\r\nW20151208-19:19:34.022(0)? (STDERR)     at Module.require (module.js:364:17)\r\nW20151208-19:19:34.023(0)? (STDERR)     at require (module.js:380:17)\r\nW20151208-19:19:34.023(0)? (STDERR)     at Object.<anonymous> (/home/vagrant/.meteor/packages/peerlibrary_pdf.js/.1.0.791_4.wwmpj1++os.linux.x86_64+web.browser+web.cordova/npm/node_modules/canvas/lib/bindings.js:2:18)\r\nW20151208-19:19:34.023(0)? (STDERR)     at Module._compile (module.js:456:26)\r\nW20151208-19:19:34.023(0)? (STDERR)     at Object.Module._extensions..js (module.js:474:10)\r\nW20151208-19:19:34.023(0)? (STDERR)     at Module.load (module.js:356:32)\r\nW20151208-19:19:34.023(0)? (STDERR)     at Function.Module._load (module.js:312:12)\r\nW20151208-19:19:34.023(0)? (STDERR)     at Module.require (module.js:364:17)\r\nW20151208-19:19:34.023(0)? (STDERR)     at require (module.js:380:17)\r\nW20151208-19:19:34.023(0)? (STDERR)     at Object.<anonymous> (/home/vagrant/.meteor/packages/peerlibrary_pdf.js/.1.0.791_4.wwmpj1++os.linux.x86_64+web.browser+web.cordova/npm/node_modules/canvas/lib/canvas.js:12:14)\r\nW20151208-19:19:34.023(0)? (STDERR)     at Module._compile (module.js:456:26)\r\nW20151208-19:19:34.023(0)? (STDERR)     at Object.Module._extensions..js (module.js:474:10)\r\nW20151208-19:19:34.024(0)? (STDERR)     at Module.load (module.js:356:32)\r\nW20151208-19:19:34.024(0)? (STDERR)     at Function.Module._load (module.js:312:12)\r\nW20151208-19:19:34.024(0)? (STDERR)     at Module.require (module.js:364:17)\r\nW20151208-19:19:34.024(0)? (STDERR)     at require (module.js:380:17)\r\nW20151208-19:19:34.024(0)? (STDERR)     at Object.Npm.require (/vagrant/.meteor/local/build/programs/server/boot.js:162:18)\r\nW20151208-19:19:34.024(0)? (STDERR)     at Package (meteor://💻app/packages/peerlibrary_pdf.js/packages/peerlibrary_pdf.js.js:1148:1)\r\nW20151208-19:19:34.024(0)? (STDERR)     at Package (meteor://💻app/packages/peerlibrary_pdf.js/packages/peerlibrary_pdf.js.js:1406:1)\r\nW20151208-19:19:34.024(0)? (STDERR)     at /vagrant/.meteor/local/build/programs/server/packages/peerlibrary_pdf.js.js:1427:4\r\nW20151208-19:19:34.024(0)? (STDERR)     at /vagrant/.meteor/local/build/programs/server/packages/peerlibrary_pdf.js.js:1436:3\r\nW20151208-19:19:34.025(0)? (STDERR)     at /vagrant/.meteor/local/build/programs/server/boot.js:242:10\r\nW20151208-19:19:34.025(0)? (STDERR)     at Array.forEach (native)\r\nW20151208-19:19:34.025(0)? (STDERR)     at Function._.each._.forEach (/home/vagrant/.meteor/packages/meteor-tool/.1.1.10.ki0ccv++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/underscore/underscore.js:79:11)\r\nW20151208-19:19:34.025(0)? (STDERR)     at /vagrant/.meteor/local/build/programs/server/boot.js:137:5\r\n```\r\n\r\nVagrant Script for Ubuntu\r\n\r\n```\r\n#!/bin/sh\r\n\r\n# This script must run with root privileges!\r\n# Vagrant will do this automatically for provisioning.\r\n\r\napt-get update\r\napt-get upgrade\r\n\r\n##############################\r\n# Install common packages and useful tools\r\n##############################\r\n\r\napt-get -y install curl imagemagick git python-software-properties\r\n\r\n##############################\r\n# Install server side PDF tools\r\n##############################\r\n\r\napt-get install libcairo2-dev libfreetype6-dev libjpeg8-dev libpango1.0-dev libgif-dev=4.1.6-9ubuntu1 build-essential g++\r\n\r\n# Node.js\r\nadd-apt-repository ppa:chris-lea/node.js\r\n\r\napt-get update\r\n\r\n##############################\r\n# Install packages\r\n##############################\r\n\r\n# Node.js\r\napt-get -y install nodejs\r\n\r\n# Install the rest with the vagrant user\r\nsu vagrant\r\n\r\n# Fix resolve problem with git:// URLs\r\ngit config --global url.\"https://\".insteadOf git://\r\n\r\n# Meteor\r\ncurl https://install.meteor.com | /bin/sh\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/peerlibrary/meteor-pdf.js/issues/comments/163018054","html_url":"https://github.com/peerlibrary/meteor-pdf.js/issues/19#issuecomment-163018054","issue_url":"https://api.github.com/repos/peerlibrary/meteor-pdf.js/issues/19","id":163018054,"user":{"login":"ncrmro","id":8276365,"avatar_url":"https://avatars.githubusercontent.com/u/8276365?v=3","gravatar_id":"","url":"https://api.github.com/users/ncrmro","html_url":"https://github.com/ncrmro","followers_url":"https://api.github.com/users/ncrmro/followers","following_url":"https://api.github.com/users/ncrmro/following{/other_user}","gists_url":"https://api.github.com/users/ncrmro/gists{/gist_id}","starred_url":"https://api.github.com/users/ncrmro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncrmro/subscriptions","organizations_url":"https://api.github.com/users/ncrmro/orgs","repos_url":"https://api.github.com/users/ncrmro/repos","events_url":"https://api.github.com/users/ncrmro/events{/privacy}","received_events_url":"https://api.github.com/users/ncrmro/received_events","type":"User","site_admin":false},"created_at":"2015-12-08T21:07:03Z","updated_at":"2015-12-08T21:07:03Z","body":"Actually got this working on the vagrant box."}}