[MacPorts] #52818: proxychains-ng @4.10_0.darwin_15.x86_64 errors when running with nmap or i386 apps

MacPorts noreply at macports.org
Fri Nov 4 18:18:06 CET 2016


#52818: proxychains-ng @4.10_0.darwin_15.x86_64 errors when running with nmap or
i386 apps
-----------------------+--------------------------------
 Reporter:  jrespeto   |      Owner:  macports-tickets@…
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.3.4
 Keywords:  elcapitan  |       Port:  proxychains-ng
-----------------------+--------------------------------
 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''' [[BR]]

 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[[BR]]

 Non-fat file: /opt/local/lib/libproxychains4.dylib is architecture: x86_64

 lipo -info /opt/local/bin/curl[[BR]]

 Non-fat file: /opt/local/bin/curl is architecture: x86_64

 lipo -info /usr/local/bin/nmap[[BR]]

 Non-fat file: /usr/local/bin/nmap is architecture: i386


 ----

 Let me know if you need any more info.

 Thank you,

 Jonathan

--
Ticket URL: <https://trac.macports.org/ticket/52818>
MacPorts <https://www.macports.org/>
Ports system for macOS



More information about the macports-tickets mailing list