我尝试按照此处发布的答案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?