maptiler / tileserver-gl

Vector and raster maps with GL styles. Server side rendering by MapLibre GL Native. Map tile server for MapLibre GL JS, Android, iOS, Leaflet, OpenLayers, GIS via WMTS, etc.
https://tileserver.readthedocs.io/en/latest/
Other
2.19k stars 632 forks source link

version `ZLIB_1.2.9' not found #194

Open giggls opened 7 years ago

giggls commented 7 years ago

Hello,

Debian does not habe zlib 1.2.9 yet, even in unstable. I get the following after installation of tileserver-gl using npm:

Error: /lib/x86_64-linux-gnu/libz.so.1: version `ZLIB_1.2.9' not found (required by /usr/lib/node_modules/tileserver-gl/node_modules/sharp/build/Release/../../vendor/lib/libpng16.so.16)

thunder39 commented 7 years ago

Also does not work on any RHEL distribution. Same issue there. If possible tileserver-gl should use an older zlib version e.g 1.2.7 which is included in RHEL (not sure about Debian).

giggls commented 7 years ago

Debian uses 1.2.8 in stable and oldstable.

hoenic07 commented 6 years ago

Happened also for me on RHEL. I switched to "sharp": "0.17.3" in package.json and it worked :)