mach-o file, but is an incompatible architecture (have ‘x86_64‘, need > ‘arm64e‘解决办法
Posted 是馄饨呀
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mach-o file, but is an incompatible architecture (have ‘x86_64‘, need > ‘arm64e‘解决办法相关的知识,希望对你有一定的参考价值。
背景
首先是报错信息,其实从我加粗的地方就会发现是因为这个需要x86,但是我用的是arm64,用这个还要从一开始写的文章说起,mac m1 用idea写java非常卡?这样设置直接起飞!!!
java.lang.UnsatisfiedLinkError:
/private/var/folders/_2/vkmftvzn2dz6b6gtmlpmlljc0000gn/T/librocksdbjni4131103974229553282.jnilib:
dlopen(/private/var/folders/_2/vkmftvzn2dz6b6gtmlpmlljc0000gn/T/librocksdbjni4131103974229553282.jnilib,
0x0001): tried:
‘/private/var/folders/_2/vkmftvzn2dz6b6gtmlpmlljc0000gn/T/librocksdbjni4131103974229553282.jnilib’
(mach-o file, but is an incompatible architecture (have ‘x86_64’, need
‘arm64e’)), ‘/usr/lib/librocksdbjni4131103974229553282.jnilib’ (no
such file)
但发现测试时 RocksDB 报错了,版本号不支持。
在参考了
https://blog.csdn.net/wumingdashen/article/details/124068695?spm=1001.2014.3001.5506
文章后,
发现m1芯片不支持这nacos的rocksDB,采取的方式为更换jdk为x86的形式,虽然性能上不如m1配置的arm64,但还是勉强可以接受的。
以上是关于mach-o file, but is an incompatible architecture (have ‘x86_64‘, need > ‘arm64e‘解决办法的主要内容,如果未能解决你的问题,请参考以下文章
报错 maun.dylib (mach-o file, but is an incompatible architecture (have (x86_64), need (arm64e))))
python gevent 解决 (mach-o file, but is an incompatible architecture (have ‘x86_64‘, need ‘arm64‘))问题
mach-o file, but is an incompatible architecture (have ‘x86_64‘, need > ‘arm64e‘解决办法
mach-o file, but is an incompatible architecture (have ‘x86_64‘, need > ‘arm64e‘解决办法
mach-o file, but is an incompatible architecture (have ‘x86_64‘, need > ‘arm64e‘解决办法
springboot使用遇到问题:Class “model.Address” is listed in the persistence.xml file but not mapped