haad / proxychains

proxychains - a tool that forces any TCP connection made by any given application to follow through proxy like TOR or any other SOCKS4, SOCKS5 or HTTP(S) proxy. Supported auth-types: "user/pass" for SOCKS4/5, "basic" for HTTP.
http://proxychains.sourceforge.net/
GNU General Public License v2.0
6.27k stars 603 forks source link

proxychains doesn't run after compiling (libdl.so) #153

Open julianwap opened 1 year ago

julianwap commented 1 year ago

Hi!

I encountered a problem after compiling proxychains4 on my Debian 11 VM. I compiled the newest source with "./configure && make && make install" and tested with "proxychains4 ping" and got the result: [proxychains] config file found: /etc/proxychains.conf [proxychains] preloading /usr/local/lib/libproxychains4.so [proxychains] DLL init ping: symbol lookup error: /usr/local/lib/libproxychains4.so: undefined symbol: dlsym

After googling for a bit I found this thread: https://stackoverflow.com/questions/27607130/undefined-reference-to-dlsym-and-dlopen?rq=1

I fixed the problem and got a working libproxychains4.so by changing "./configure" script line 108 from echo OS_LDFLAGS=-pthread -ldl -Wl,--no-as-needed>>config.mak to echo OS_LDFLAGS=-pthread -Wl,--no-as-needed -ldl>>config.mak as suggested in the thread. (And "make clean&&configure&&make&&make install")

Is there a reason the configure-script contains the arguments in this order and not the (for me) working one or can this be changed?

Julian

github-actions[bot] commented 6 months ago

Stale issue message

Dup4 commented 5 months ago

same here and it works for me