Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install libnss3 in order to fix .pdf -> .mobi #56

Merged
merged 3 commits into from Nov 10, 2019
Merged

Install libnss3 in order to fix .pdf -> .mobi #56

merged 3 commits into from Nov 10, 2019

Conversation

itsthejb
Copy link
Contributor

Description:

Benefits of this PR and context:

  • Ability to convert .pdf to .mobi, or even .epub

How Has This Been Tested?

  • Add a .pdf, example https://web.mit.edu/alexmv/6.037/sicp.pdf
    • Not sure of the general case
  • Try Edit metadata, convert to .mobi
  • Will fail in logs with ERROR in worker: Calibre failed with error: /app/calibre/bin/pdftohtml: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory
    • Installing libnss3 for this support seems like a trivial fix
  • Install the library manually; apt-get install libnss3
  • Repeat test process
  • Conversion succeeds

Source / References:

@CHBMB
Copy link
Member

CHBMB commented Nov 10, 2019

@itsthejb Can you also add it to Dockerfile.aarch64 and Dockerfile.armhf as well to cover the other architectures.

No need for && it's all one command, that will break the Dockerfile.

@itsthejb
Copy link
Contributor Author

@CHBMB ok, will do

@CHBMB CHBMB requested a review from a team November 10, 2019 18:11
@CHBMB CHBMB merged commit fe2938b into linuxserver:master Nov 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants