Code Monkey home page Code Monkey logo

aws-calibre-layer's Introduction

Hi ๐Ÿ‘‹, I'm gipsh

Self-employed software engineer

  • ๐Ÿฑโ€๐Ÿ‘ค Skills: go, java, python, ruby, AWS, terraform, serverless and many more ๐Ÿ˜Ž
  • ๐Ÿ”ญ Iโ€™m currently working at โšก storicard.com โšก
  • โ™Ÿ Chess & ๐Ÿ‚ Snowboard!
  • ๐Ÿ“ซ reach me at: gipshm at gmail

gipsh gipsh

aws-calibre-layer's People

Contributors

dependabot[bot] avatar gipsh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

aws-calibre-layer's Issues

Issue running layer in golang/java8 on Amazon Linux

I tried reverting to languages that used the old Amazon Linux image but run into issues there as well.

Started with writing a lambda in golang but got the following issue:
ImportError: /lib64/libz.so.1: version `ZLIB_1.2.9' not found (required by /opt/lib/libpng16.so.16)

It could be that is due to images being encoded?

When this didn't work I tried deploying the java function in this repo but get what I assume is the same error:

2020-09-07T13:44:08.076+02:00 | File "site.py", line 77, in main
-- | --
ย  | 2020-09-07T13:44:08.076+02:00 | File "site-packages/calibre/ebooks/conversion/cli.py", line 401, in main
ย  | 2020-09-07T13:44:08.076+02:00 | File "site-packages/calibre/ebooks/conversion/plumber.py", line 1275, in run
ย  | 2020-09-07T13:44:08.076+02:00 | File "site-packages/calibre/ebooks/conversion/plugins/mobi_output.py", line 186, in convert
ย  | 2020-09-07T13:44:08.076+02:00 | File "site-packages/calibre/ebooks/mobi/writer2/resources.py", line 12, in <module>
ย  | 2020-09-07T13:44:08.076+02:00 | File "site-packages/calibre/ebooks/mobi/utils.py", line 13, in <module>
ย  | 2020-09-07T13:44:08.076+02:00 | File "site-packages/calibre/utils/img.py", line 17, in <module>
ย  | 2020-09-07T13:44:08.076+02:00 | ImportError: /lib64/libz.so.1: version `ZLIB_1.2.9' not found (required by /opt/lib/libpng16.so.16)

Have you ran into the same issue? I tried to force load the libz.so.1 version from the calibre layer using the LD_LIBRARY_PATH but coudn't get it working..

Layer not working on Amazon Linux 2

Thanks for publishing this layer!

I tried using it in a node lambda, but they run on the newer VM (amazon linux 2) and it doesn't seem to work.. I'm no good with python, but as far as I understand the X11 packages are not available on the newer VM's. Would it be possible to add the missing packages to the layer?

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.