Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot run in macos(m2 apple silicon) #510

Closed
cunoe opened this issue May 9, 2023 · 1 comment
Closed

cannot run in macos(m2 apple silicon) #510

cunoe opened this issue May 9, 2023 · 1 comment

Comments

@cunoe
Copy link

cunoe commented May 9, 2023

i try install from brew first, it could not work well.

$ proxychains4 curl www.google.com
[proxychains] config file found: /opt/homebrew/etc/proxychains.conf
[proxychains] preloading /opt/homebrew/Cellar/proxychains-ng/4.16/lib/libproxychains4.dylib
dyld[23687]: terminating because inserted dylib '/opt/homebrew/Cellar/proxychains-ng/4.16/lib/libproxychains4.dylib' could not be loaded: tried: '/opt/homebrew/Cellar/proxychains-ng/4.16/lib/libproxychains4.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need '')), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/proxychains-ng/4.16/lib/libproxychains4.dylib' (no such file), '/opt/homebrew/Cellar/proxychains-ng/4.16/lib/libproxychains4.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need ''))
dyld[23687]: tried: '/opt/homebrew/Cellar/proxychains-ng/4.16/lib/libproxychains4.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need '')), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/proxychains-ng/4.16/lib/libproxychains4.dylib' (no such file), '/opt/homebrew/Cellar/proxychains-ng/4.16/lib/libproxychains4.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need ''))
[1]    23687 abort      proxychains4 curl www.google.com

when i try build proxychains by source

./configure --fat-binary-m1 --hookmethod=dyld

and run it
got

$ proxychains4 curl www.google.com
[proxychains] config file found: /usr/local/etc/proxychains.conf
[proxychains] preloading /usr/local/lib/libproxychains4.dylib
dyld[22133]: terminating because inserted dylib '/usr/local/lib/libproxychains4.dylib' could not be loaded: tried: '/usr/local/lib/libproxychains4.dylib' (fat file, but missing compatible architecture (have 'x86_64,arm64,arm64e', need '')), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/libproxychains4.dylib' (no such file), '/usr/local/lib/libproxychains4.dylib' (fat file, but missing compatible architecture (have 'x86_64,arm64,arm64e', need ''))
dyld[22133]: tried: '/usr/local/lib/libproxychains4.dylib' (fat file, but missing compatible architecture (have 'x86_64,arm64,arm64e', need '')), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/libproxychains4.dylib' (no such file), '/usr/local/lib/libproxychains4.dylib' (fat file, but missing compatible architecture (have 'x86_64,arm64,arm64e', need ''))
[1]    22133 abort      proxychains4 curl www.google.com

i do not know which arch it needed

@rofl0r
Copy link
Owner

rofl0r commented May 9, 2023

see #481.

@rofl0r rofl0r closed this as not planned Won't fix, can't repro, duplicate, stale May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants