question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: version `ZLIB_1.2.9' not found - conflict with node-canvas

See original GitHub issue

I’m getting this error when running my program:
Error: /lib/x86_64-linux-gnu/libz.so.1: version 'ZLIB_1.2.9' not found ...
Any thoughts?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
lovellcommented, Jun 13, 2017

Thanks.

See #371, the summary of which is that if you’re relying on a system-wide installation of cairo for node-canvas, then the safest option is to also rely on a system-wide install of libvips for sharp.

1reaction
lovellcommented, Jun 13, 2017

Hello, this is probably related to the order in which shared libraries are loaded. What other dependencies are you using? Ensure sharp is required before other dependencies that might load a system’s zlib first.

Read more comments on GitHub >

github_iconTop Results From Across the Web

NodeJS app on OpenShift: /lib64/libz.so.1: version `ZLIB_1.2.9 ...
By now I solved the problem. Adding the LD_PRELOAD variable to the build and the deployment environments did not help.
Read more >
1570462 – ZLIB_1.2.9 not found in Rocketchat Image
Description of problem: The following error occurs on container startup which results in the rocketchat server failing to start Exception in ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found