Home > Enterprise >  Deploying Node.js app with gdal | AWS Elastic Beanstalk
Deploying Node.js app with gdal | AWS Elastic Beanstalk

Time:04-02

I'm trying to deploy a node.js app but get stuck with an error about missing dependencies for gdal.

Error: /lib64/libm.so.6: version 'GLIBC_2.27' not found (required by /var/app/current/node_modules/gdal/lib/binding/gdal.node)

How would I go about installing this required dependency?

CodePudding user response:

gdal-async on npm explicitly supports AWS.

As its author, I will be happy to help you if it doesn't work - you can create an issue on github.

I don't know what you call gdal.js.

There is the original gdal by Mapbox and Natural Atlas that is not actively developed anymore.

There is gdal-next on which I used to work a little bit which has a current version of GDAL but it is not very active either.

There is my gdal-async which is the only one that is currently active.

And there is an Emscripten port that is pure JS and runs in the browser, but it is stalled at GDAL 2.

Supporting AWS is simply a matter of compiling with the right libraries.

  • Related