使用GDAL部署Node.js应用程序| AWS弹性Beanstalk
我正在尝试部署node.js应用程序,但遇到了关于 gdal 。
错误:/lib64/libm.so.6:找不到版本'glibc_2.27'(由/var/app/current/node_modules/gdal/gdal/lib/lib/binding/gdal.node要求)
如何如何我要安装此必需的依赖性吗?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
npm 上的
gdal-async
明确支持 AWS。作为其作者,如果它不起作用,我将很乐意为您提供帮助 - 您可以在 github 上创建问题。
我不知道你怎么称呼
gdal.js
。Mapbox 和 Natural Atlas 最初的
gdal
已不再积极开发。我曾经在 gdal-next 上工作过一点,它有当前版本的 GDAL,但它也不是很活跃。
我的
gdal-async
是当前唯一处于活动状态的。还有一个 Emscripten 端口是纯 JS 并在浏览器中运行,但它在 GDAL 2 上停滞不前。
支持 AWS 只需使用正确的库进行编译即可。
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.