`未定义的符号:ossl_sha3_512_functions`

发布于 2025-02-01 15:50:14 字数 1912 浏览 3 评论 0原文

我一直在尝试从源来编译Kadena Chainweb-node项目(通过此处找到的文档)在运行ARM64V8/UBUNTU基本图像的Docker容器中,我一直遇到错误。多亏了#Haskell IRC频道中的超级有帮助的人,我已经通过了许多小障碍,但是构建仍然失败了:

nofected符号:ossl_sha3_512_functions

我找不到任何资源如何解决此问题,但是#Haskell社区成员之一告诉我,这些符号未由OpenSSL 3.0 API提供。该人在此处创建一个问题: https://github.com/github.com/larskuhtz/hs-hashes/hs-hashes /eskoes/14

我发现我可以使用Docker Base Image Haskell:8,该由GHC,Cabal和OpenSSL 1.1.1 TO Cabal Build预装。 /code> Chainweb节点使用略有不同的apt-get依赖关系成功。但是,当尝试cabal install二进制文件时,我可以运行chaineweb-node,我得到了:

Failed to build chainweb-2.14.1. The failure occurred during the configure
step.
Build log (
/root/.cabal/logs/ghc-8.10.7/chainweb-2.14.1-36aedf5adc1967eb17358e6434b6fd51bc7e64082f6c12e0df40ddafece6ff69.log
):
[1 of 1] Compiling Main             ( /tmp/cabal-install.-838/dist-newstyle/tmp/src-838/chainweb-2.14.1/dist/setup/setup.hs, /tmp/cabal-install.-838/dist-newstyle/tmp/src-838/chainweb-2.14.1/dist/setup/Main.o )
Linking /tmp/cabal-install.-838/dist-newstyle/tmp/src-838/chainweb-2.14.1/dist/setup/setup ...
Configuring chainweb-2.14.1...
setup: Encountered missing or private dependencies:
criterion -any,
data-ordlist >=0.4.7,
resource-pool >=0.2,
retry >=0.7,
statistics >=0.15,
tasty-json >=0.1


cabal: Failed to build chainweb-2.14.1. See the build log above for details.

我已经尝试了cabal install install install criterion和另一个缺少的dep,一个一个,但是Cabal install给我相同的错误。

有人可以告诉我我在做什么错,并帮助我获得工作chaineweb节点从源构建并使用Docker安装的二进制文件?

I've been trying to compile the Kadena chainweb-node project from source (via the docs found here) in a docker container running the arm64v8/ubuntu base image on an Apple M1 host machine and I keep getting errors. Thanks to the super helpful folks in the #haskell IRC channel, I've made it over a number of small hurdles, but the build still fails with:

Undefined symbol: ossl_sha3_512_functions

I can not find any resources on how to fix this but one of the #haskell community members informed me that these symbols are not provided by the openssl 3.0 API. That person created an issue here: https://github.com/larskuhtz/hs-hashes/issues/14

I've found that I can use the docker base image haskell:8 which comes preinstalled with ghc, cabal, and openssl 1.1.1 to cabal build chainweb-node successfully using a slightly different set of apt-get dependencies. However, when trying to cabal install the binaries so that I can run chainweb-node, I get:

Failed to build chainweb-2.14.1. The failure occurred during the configure
step.
Build log (
/root/.cabal/logs/ghc-8.10.7/chainweb-2.14.1-36aedf5adc1967eb17358e6434b6fd51bc7e64082f6c12e0df40ddafece6ff69.log
):
[1 of 1] Compiling Main             ( /tmp/cabal-install.-838/dist-newstyle/tmp/src-838/chainweb-2.14.1/dist/setup/setup.hs, /tmp/cabal-install.-838/dist-newstyle/tmp/src-838/chainweb-2.14.1/dist/setup/Main.o )
Linking /tmp/cabal-install.-838/dist-newstyle/tmp/src-838/chainweb-2.14.1/dist/setup/setup ...
Configuring chainweb-2.14.1...
setup: Encountered missing or private dependencies:
criterion -any,
data-ordlist >=0.4.7,
resource-pool >=0.2,
retry >=0.7,
statistics >=0.15,
tasty-json >=0.1


cabal: Failed to build chainweb-2.14.1. See the build log above for details.

I've tried cabal install criterion and the other missing deps, one by one, but the cabal install gives me the same errors.

Can someone tell me what I'm doing wrong and help me get a working chainweb-node binary built from source and installed using docker?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文