Comments (5)
It should be noted that tileserver-gl-light
operates without errors.
from tileserver-gl.
Hi @Korolev-Oleg,
It should be noted that
tileserver-gl-light
operates without errors.
you should IMHO go with the docker
option for tileserver-gl
since maplibre-gl-native
requires some specific libs with specific versions - you could create a symlink against newer versions.
BTW you can try with sudo apt-get update && sudo apt-get install libicu66
.
HTH,
Matteo
from tileserver-gl.
It is not possible right now to run on 22.04 without providing your own maplibre-native binary files. The maplibre-native binaries are built on Ubuntu 20.04, so they have hard dependencies on the lib versions it was built with.
We found in #643 that Ubuntu 22.04 uses libicu70 and has no libicu66, so maplibre-native fails. You can see this in the ct test with this error it is getting
Error: libicui18n.so.66: cannot open shared object file: No such file or directory
at Object.Module._extensions..node (node:internal/modules/cjs/loader:1249:18)
at Module.load (node:internal/modules/cjs/loader:[10](https://github.com/maptiler/tileserver-gl/actions/runs/3804864684/jobs/6472538658#step:10:11)43:32)
at Function.Module._load (node:internal/modules/cjs/loader:878:12)
at Module.require (node:internal/modules/cjs/loader:1067:19)
at require (node:internal/modules/cjs/helpers:103:18)
at Object.<anonymous> (/home/runner/work/tileserver-gl/tileserver-gl/node_modules/@maplibre/maplibre-gl-native/platform/node/index.js:5:12)
at Module._compile (node:internal/modules/cjs/loader:[11](https://github.com/maptiler/tileserver-gl/actions/runs/3804864684/jobs/6472538658#step:10:12)65:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:[12](https://github.com/maptiler/tileserver-gl/actions/runs/3804864684/jobs/6472538658#step:10:13)19:10)
at Module.load (node:internal/modules/cjs/loader:1043:32)
at Function.Module._load (node:internal/modules/cjs/loader:878:12)
at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:[16](https://github.com/maptiler/tileserver-gl/actions/runs/3804864684/jobs/6472538658#step:10:17)9:29)
at ModuleJob.run (node:internal/modules/esm/module_job:[19](https://github.com/maptiler/tileserver-gl/actions/runs/3804864684/jobs/6472538658#step:10:20)3:25)
at async Promise.all (index 0)
at async ESMLoader.import (node:internal/modules/esm/loader:530:[24](https://github.com/maptiler/tileserver-gl/actions/runs/3804864684/jobs/6472538658#step:10:25))
at async file:///home/runner/work/tileserver-gl/tileserver-gl/src/server.js:33:3
Error: Process completed with exit code 1.
We've had some discussion on the maplibre-native slack about how to get the binary to be more portable, but right now it has dependecies
https://osmus.slack.com/archives/C02B2CBSNBU/p1670899965718649
Right now as @scara said. If you want to keep the OS you are on, docker is the best option. You could also switch to 20.04 and it should work without docker.
from tileserver-gl.
See this for how I got 22.04 to work in testing
#643 (comment)
If you did try that you might want to checkout maplibre-native at the last node release version
https://github.com/maplibre/maplibre-native/releases/tag/node-v5.2.0
since there has been lots of changes for metal support that i'm not sure are ready for the node binary build
from tileserver-gl.
Just an FYI, as of TileServer-GL v4.8.0 and Maplibre-Native v5.3.0 , the default linux node binary is now built on Ubuntu 22.04. This should mean TileServer-GL should now work on 22.04.3
from tileserver-gl.
Related Issues (20)
- Latest arm64 Docker Image is broken HOT 15
- Tiles not rendering at certain zoom levels HOT 3
- Tileserver crashes/throws error in tile mode for certain pbf HOT 6
- broken docker image maptiler/tileserver-gl-light:v4.6.3 HOT 7
- Crashing tileserver-gl worker (docker, kernel trap) HOT 10
- firefox warning NS_BINDING_ABORTED in web developer tools network tab HOT 2
- Unit test cases for maptiler tileserver HOT 1
- min/maxRendererPoolSizes in config have no effect HOT 8
- Multiple mbtiles serving on tileserver-gl HOT 1
- maptiler-server & nginx proxy to a URL with sub-folder HOT 3
- Texts are cut off in raster maps and static maps HOT 5
- maxScaleFactor @4x and more does not work HOT 3
- Maptiler retaining Renderer after each process.
- Question about cache. Fast loading of tiles. HOT 1
- MBtiles data with static png images lead to erroneous URLs in index.json HOT 3
- Unhandled exception when pmtiles is used and GeoJSON is requested HOT 5
- Provided Tilejson file's "tiles" attribute uses "HTTP" instead of "HTTPS" HOT 3
- Add cache bust feature
- style paths with (null) in sources
- Serving multiple maps (.MBTiles) in th same server. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tileserver-gl.