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

Issue running layer in golang/java8 on Amazon Linux #2

Open
markusahlstrand opened this issue Sep 7, 2020 · 0 comments
Open

Issue running layer in golang/java8 on Amazon Linux #2

markusahlstrand opened this issue Sep 7, 2020 · 0 comments

Comments

@markusahlstrand
Copy link

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..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant