使用GDAL部署Node.js应用程序| AWS弹性Beanstalk

发布于 2025-01-18 08:42:07 字数 291 浏览 2 评论 0原文

我正在尝试部署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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

伤痕我心 2025-01-25 08:42:07

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文