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

How m2 chip should use proxychains4 #562

Open
fliggyaa opened this issue Apr 16, 2024 · 3 comments
Open

How m2 chip should use proxychains4 #562

fliggyaa opened this issue Apr 16, 2024 · 3 comments

Comments

@fliggyaa
Copy link

fliggyaa commented Apr 16, 2024

I installed it directly using homebrew and compiled it myself, but the following error occurred.

[proxychains] preloading /usr/local/lib/libproxychains4.dylib
dyld[5482]: terminating because inserted dylib '/usr/local/lib/libproxychains4.dylib' could not be loaded: tried: '/usr/local/lib/libproxychains4.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need '')), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/libproxychains4.dylib' (no such file), '/usr/local/lib/libproxychains4.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need ''))
dyld[5482]: tried: '/usr/local/lib/libproxychains4.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need '')), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/libproxychains4.dylib' (no such file), '/usr/local/lib/libproxychains4.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need ''))
zsh: abort      proxychains4 curl cip.cc

My parameters are

CFLAGS="-arch arm64" LDFLAGS="-arch arm64" ./configure
@rofl0r
Copy link
Owner

rofl0r commented Apr 16, 2024

try #481 (comment) (from pinned issue.)

@fliggyaa
Copy link
Author

I followed the same steps and got the following error

fliggy@fliggydeMacBook-Pro proxychains-ng % ./proxychains4 -f /opt/homebrew/etc/proxychains.conf curl ipinfo.io
zsh: killed     ./proxychains4 -f /opt/homebrew/etc/proxychains.conf curl ipinfo.io

@rofl0r
Copy link
Owner

rofl0r commented Apr 17, 2024

did you also disable csrutil stuff, also make sure to not use system binaries but only ones copied into home dir or from homebrew path.

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