Opened 8 years ago
Last modified 8 years ago
#52818 closed defect
proxychains-ng @4.10_0.darwin_15.x86_64 errors when running with nmap or i386 apps — at Initial Version
Reported by: | jrespeto (Jonthan) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | elcapitan | Cc: | chunyang@…, openmaintainer@… |
Port: | proxychains-ng |
Description
Hi,
Was getting this error and saw brew had the same issues with a fix. https://gist.github.com/y3dips/0972e13256f947b0004a
Look like it was not configured with the --fat-binary options
here is the error im getting. proxychains4 nmap -v -sT x.x.x.x [proxychains] config file found: /opt/local/etc/proxychains.conf [proxychains] preloading /opt/local/lib/libproxychains4.dylib dyld: could not load inserted library '/opt/local/lib/libproxychains4.dylib' because no suitable image found. Did find:
/opt/local/lib/libproxychains4.dylib: mach-o, but wrong architecture
Trace/BPT trap: 5
works with x86_64 apps
proxychains4 curl -v ifconfig.io [proxychains] config file found: /opt/local/etc/proxychains.conf [proxychains] preloading /opt/local/lib/libproxychains4.dylib [proxychains] DLL init: proxychains-ng 4.10
- Rebuilt URL to: ifconfig.io/
- Trying 224.0.0.1...
- TCP_NODELAY set
[proxychains] Strict chain ... 127.0.0.1:9091 ... ifconfig.io:80 ... OK
- Connected to ifconfig.io (127.0.0.1) port 80 (#0)
GET / HTTP/1.1 Host: ifconfig.io User-Agent: curl/7.51.0 Accept: */*
lipo -info /opt/local/lib/libproxychains4.dylib
Non-fat file: /opt/local/lib/libproxychains4.dylib is architecture: x86_64
lipo -info /opt/local/bin/curl
Non-fat file: /opt/local/bin/curl is architecture: x86_64
lipo -info /usr/local/bin/nmap
Non-fat file: /usr/local/bin/nmap is architecture: i386
Let me know if you need any more info.
Thank you,
Jonathan