在 Android 上运行 Wolfram 引擎 (aarch64)

问题描述 投票:0回答:1

我尝试按照此处发布的答案https://mathematica.stackexchange.com/a/239308/53728,其中用于Raspberry Pi(armhf)的Mathematica版本安装在Android手机上。

但我仍然收到错误

kirill@localhost:~$ wolfram ERROR: ld.so: object '/support/libdisableselinux.so' from /etc/ld.so.preload cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. /opt/Wolfram/WolframEngine/12.3/SystemFiles/Kernel/Binaries/Linux-ARM/WolframKernel: error while loading shared libraries: libopenblas.so.0: cannot enable executable stack as shared object requires: Permission denied

尝试安装 open-blas 库,但我认为问题不存在

真遗憾:现代手机有8个强大的核心,有免费的Wolfram引擎可用,但我仍然无法以适当的方式利用它的力量。

更新:

设法将 Mathematica 降级到 11.0 并手动安装所有库,但现在错误看起来像这样

root@localhost:/opt/Wolfram/WolframEngine/11.0/Executables# wolfram ERROR: ld.so: object '/support/libdisableselinux.so' from /etc/ld.so.preload cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.  /opt/Wolfram/WolframEngine/11.0/SystemFiles/Kernel/Binaries/Linux-ARM/WolframKernel: error while loading shared libraries: /opt/Wolfram/WolframEngine/11.0/SystemFiles/Libraries/Linux-ARM/libWolframEngine.so: cannot restore segment prot after reloc: Permission denied

看起来我需要以某种方式禁用 SELinux?

android debian wolfram-mathematica arm64
1个回答
0
投票

Wolfram 最近发布了适用于 Raspberry PI、ARM64 的 Mathematica。最后,您只需执行here提供的脚本即可在termux中安装它。

This是脚本的直接链接。它将下载并安装适用于 ARM64 的 Wolfram 引擎和 Mathematica。 我设法在 termux 中安装它,甚至前端(Mathematica)在 VNC 中也能正常工作。

© www.soinside.com 2019 - 2024. All rights reserved.