mars xlog解密失败,libcrypto.3.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64'))

fae0ux8s  于 4个月前  发布在  Mac
关注(0)|答案(3)|浏览(49)

环境:
macOS: 13.0.1 (22A400)
openssl: 3.3.6
pyelliptic: 1.5.10
python:2.7

解密log的时候报错

错误信息:
Traceback (most recent call last):
File "/Users/environment/tools/log/decode_mars_crypt_log_file.py", line 9, in
import pyelliptic
File "build/bdist.macosx-10.9-x86_64/egg/pyelliptic/init.py", line 43, in
File "build/bdist.macosx-10.9-x86_64/egg/pyelliptic/openssl.py", line 640, in
File "build/bdist.macosx-10.9-x86_64/egg/pyelliptic/openssl.py", line 129, in init
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/init.py", line 366, in init
self._handle = _dlopen(self._name, mode)
OSError: dlopen(/opt/homebrew/Cellar/openssl@3/3.1.0/lib/libcrypto.3.dylib, 0x0006): tried: '/opt/homebrew/Cellar/openssl@3/3.1.0/lib/libcrypto.3.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/openssl@3/3.1.0/lib/libcrypto.3.dylib' (no such file), '/opt/homebrew/Cellar/openssl@3/3.1.0/lib/libcrypto.3.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64'))

求解

pokxtpni

pokxtpni2#

环境: macOS: 13.0.1 (22A400) openssl: 3.3.6 pyelliptic: 1.5.10 python:2.7

解密log的时候报错

错误信息: Traceback (most recent call last): File "/Users/environment/tools/log/decode_mars_crypt_log_file.py", line 9, in import pyelliptic File "build/bdist.macosx-10.9-x86_64/egg/pyelliptic/init.py", line 43, in File "build/bdist.macosx-10.9-x86_64/egg/pyelliptic/openssl.py", line 640, in File "build/bdist.macosx-10.9-x86_64/egg/pyelliptic/openssl.py", line 129, in init File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/init.py", line 366, in init self._handle = _dlopen(self._name, mode) OSError: dlopen(/opt/homebrew/Cellar/openssl@3/3.1.0/lib/libcrypto.3.dylib, 0x0006): tried: '/opt/homebrew/Cellar/openssl@3/3.1.0/lib/libcrypto.3.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/openssl@3/3.1.0/lib/libcrypto.3.dylib' (no such file), '/opt/homebrew/Cellar/openssl@3/3.1.0/lib/libcrypto.3.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64'))

求解
https://github.com/zhanlan123/YXlogDecode 最新版本已经支持zstd和zip格式。

相关问题