proxychains-ng icon indicating copy to clipboard operation
proxychains-ng copied to clipboard

How m2 chip should use proxychains4

Open fliggyaa opened this issue 1 year ago • 3 comments

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

fliggyaa avatar Apr 16 '24 10:04 fliggyaa

try https://github.com/rofl0r/proxychains-ng/issues/481#issuecomment-1455369572 (from pinned issue.)

rofl0r avatar Apr 16 '24 14:04 rofl0r

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

fliggyaa avatar Apr 17 '24 01:04 fliggyaa

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.

rofl0r avatar Apr 17 '24 11:04 rofl0r