rishihahs / heroku-buildpack-libreoffice

Heroku buildpack for LibreOffice
MIT License
25 stars 45 forks source link

Error when invoking soffice binary #2

Closed robertoandrade closed 9 years ago

robertoandrade commented 9 years ago

I get the following when trying for instance to run heroku run soffice --version:

/app/vendor/libreoffice/program/oosplash: error while loading shared libraries: libXinerama.so.1: 
cannot open shared object file: No such file or directory

Any ideas what could be wrong?

rishihahs commented 9 years ago

I'm not sure, but you could try installing libXinerama via heroku-buildpack-apt.

Aptfile:

libxinerama-dev
libxinerama1
robertoandrade commented 9 years ago

That did it, thanks. Now I'm in the venture to try and build the bins myself so I can get the latest version of LibreOffice there. Anywhere in specific you grabbed the versions of the dependencies you list at https://github.com/rishihahs/heroku-buildpack-libreoffice/blob/master/build/libreoffice.sh#L8-12 in case I'd like to pull the 4.3.4 bins instead of 4.1.4?

rishihahs commented 9 years ago

Those paths are of the latest version from the official repos (at the time I made this).